CPSC 1045 Introduction to Web Programming Assignment

Assignment Help Web Project
Reference no: EM132536994

CPSC 1045 Introduction to Web Programming - Langara College

Assignment: Loop, arrays and events

Part 1:

Starting with the ass7_1.html and ass7_1.js
Write the JavaScript code such that
• When the page loads, create 10 random black circles in the group with the id container
• When the user clicks on a click on a circle, it changes color to the one selected in the color input
• When the user clicks on the reset button, change the color of all the circles to black

Part 2:

Starting with the ass7_2.html and ass7_2.js
• Create an application that allows the user to create a pro/con list.
• You should have 2 global arrays, one for pros and one for cons
• The user can type the reason in the reason box
o If the pro button is clicked the reason is added to the Pro List
o If the con button is clicked the reason is added to the Con List
o If the reset button is clicked, both lists are emptied
• The div with the id proList should contains the upto date contents of the pros array
o The internal array, and what is shown on the screen are separate things.
• The div with the id conList should contain the upto date contents of the cons array
• The list should not exceed 10 items long
• If there are more than 10 items on either list, remove the oldest item from that list.
• The Remove Pro button removes the most recent Pro reason
• The Remove Con button removes the most recent Con reason
• The Circle on the right should be red if there are more Cons than pros, and green otherwise
• Write a helper function to update the circle's color, div's containing the lists.
o You should write one function that can updater either pro or con lists by having the correct parameters passed into it.
o You should write one function to update the circle's color

Attachment:- Loop - arrays and events.rar

Reference no: EM132536994

Questions Cloud

Evaluate the role of uncertainty in global supply chains : Evaluate the role of uncertainty in global supply chains and Analyze requirements for strategic fit and how a company ensures strategic fit
Describe the objectives for the practicum experience : Practicum Journal Entry: You will select one nursing theory and one counseling theory to best guide your practice in psychotherapy. You will explain why you.
What the predetermined indirect allocation rate per machine : tThe upcoming year, while 2,000 machine hours will be used during the year. The predetermined indirect allocation rate per machine hour is closest to
What is the amount and nature of the book-tax difference : It reported net capital gains of $30,000 in year 4 and $43,000 in year 6. What is the amount and nature of the book-tax difference in year 6
CPSC 1045 Introduction to Web Programming Assignment : CPSC 1045 Introduction to Web Programming Assignment Help and Solution, Langara College - Assessment Writing Service - Create an application
What is the book-tax difference due to the options exercised : The total bargain element at the time of exercise was $68,500. For 2018, what is the book-tax difference due to the options exercised
What is the cost driver rate if manufacturing overhead costs : What is the cost driver rate if manufacturing overhead costs are considered one large cost pool and are assigned based on 8 million pages
Post a description of the healthcare organization website : Post a description of the healthcare organization website you reviewed. Describe where, if at all, EBP appears (e.g., the mission, vision, philosophy).
What is the book-tax difference associated with the stock : One thousand options are exercised in 2019 with a bargain element on each option of $8. What is the 2019 book-tax difference associated with the stock options

Reviews

Write a Review

Web Project Questions & Answers

  Evaluating an ecommerce website

Create a check list that contains key point for evaluating an ecommerce website - Write a short, reflective report about website

  Gpc and runtime magic quotes

Create a script that lets you know whether Zeus or Helios has the GPC and Runtime Magic Quotes turned on or off. The output should have appropriate labels that define what output signified and should display 'ON' or 'OFF' depending on the setting.

  Creating functions through conditional operator

Use the conditional operator and the cal_days_in_month function, determine the number of days in the current month and output to browser whether it is normal month or a leap month.

  Web development projects with database

Since the vast majority of web-development projects involve a database, do you think that computational activities should be performed there, or do you think they belong in the XML page or stylesheet?

  Comparing shelf software packages

Required assistance with comparing and contrasting two main off the shelf software packages that could be implemented in an organization.

  Web based scams

Web phishing, pharming and vishing are popular web based scams. Talk about currently used tools and recommended measures to defeat this kind of attacks efficiently?

  Explanation of contextual links

The most powerful hypertext capabilities is the the contextual link. Wikipedia . com is a great example of a site that utilizes contextual links.

  How architectural and protocol changes occur

Discuss how architectural and protocol changes happen, the administrative organization that oversees the technical development of the Internet,

  Traditional approaches for training professionals

Webinars and other web conferencing techniques have proved most beneficial for the provision of affordable quality corporate training.

  Internet for business

Discuss how can a business use the Internet and give at least three examples with web links demonstrating your answer.

  It influences the behavior of organizations

Information technology influences the behavior of organizations. Name one effect of Information technology implementation and long-term usage you suppose having a positive contribution and one having a negative consequence.

  Importance of a guided navigation system

Explain the use and importance of a guided navigation system and shopping cart for a website designed for e-commerce and business purpose.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd