IT3215 | Programming Methods in Computer Science - Capella university

4. Jen Stevens

Hint: Use the splice function in order to remove a specific item from the array. Tip: The array index starts at 0, so when displaying the index, you will need to add 1 to the index value when it is displayed.

Make sure to do the following:

Write JavaScript to delete a specific volunteer by using loop. Write JavaScript that loops through the volunteer list to display the index value. Once completed, view your pages in each of your two selected Web browsers to see if the content renders appropriately and consistently within each. Next, verify that your code is error-free using the appropriate browser-specific development tool found in the Resources. Take a screen capture of each of your validation results and save it for submission.

Submission Requirements

Upload your Web site files to your Web host. Submit your work in the courseroom using a single Zip file containing

the following:

Your entire Web site, including all associated files.

A Word document with:

The url to your Web site so faculty can view your site on a live host. A screen capture of each of your two validations that you completed using the developer tools found in the Resources. Resources Using Arrays and Loops Scoring Guide. Microsoft Edge Dev Tools. IT3215 Web Site Zip Files. Chrome DevTools. Safari Web Inspector Guide. Unit 03

Assignment 1

Dynamic Images, E vents, and the DOM

Overview

Images, both static and dynamic, appear on most Web sites. There are many different features and functionalities that we can add through the use of JavaScript, including preloading, rollovers, and cycling banner ads. In this assignment, you will work with JavaScript, images, events, and manipulating the DOM to create an interactive image gallery. Hint: Preloading your images will only work on a hosting server and not your local drive, as there is no load time for your images locally. Once you have preloaded those images, you should clear your cache to test your loading of the images again. Tip: In a smaller JavaScript program such as this one, each function is created for a specific purpose. However, in more complex sites, it is better to build functions that are applicable to multiple situations. For example, rather than specifying an element name or ID, we can use a variable that is passed into the function. Directions Use the gallery.html and index.html files from the supplied

course Zip file. Create functionality using JavaScript on the following pages:

index.html Preload the images (banner1.jpg, banner2.jpg, and banner3.jpg in the images folder) for the banner at the top of the page. Create a cycling two-state banner that cycles every three seconds. gallery.html Preload the gallery images. Create roll-over functionality for each of the thumbnails in your image gallery. Use appropriate images found in the images folder. Write developer comments to describe the variables being declared and explain the functions and logical blocks of JavaScript code pertaining to the gallery.

Make sure to do the following:

Create an onpageload function to preload all of your images. Create a modularized function to cycle the homepage banner. Create a modularized rollover function for gallery images. Once completed, view your pages in each of your two selected Web browsers to see if the content renders appropriately and consistently within each. Next, verify that your code is error free using the appropriate browser specific development tool found in the Resources. Take a screen capture of each of your validation results and save it for submission. Note: Modularized refers to creating components that can be repurposed without significant changes to coding. Modularized components have no "hard coding" of image names, URLs, and so on, in the functions. Samples of modularized and nonmodularized JavaScript are provided in the Example Code file linked in Resources.

Submission Requirements

Upload your Web site files to your Web host. Submit your work in the courseroom using a single Zip file

containing the following:

Your entire Web site including all associated files.

A Word document with:

The URL to your Web site so the instructor can view your site on a live host. A screen capture of each of your two validations that you completed using the developer tools linked in Resources. Resources Dynamic Images, Events, and the DOM Scoring Guide. Chrome DevTools. Safari Web Inspector Guide. Microsoft Edge Dev Tools. IT3215 Web Site Zip Files. Example Code. Unit 04

Assignment 1

Form Field Validation and Error Messages

Overview

You have created a basic form and added interactivity to images using JavaScript. Now it is time to validate information entered into your form fields. You will use the "registration.html" file found in your Zip file. You will see that the page has a form with the following fields to allow users to register for an account. The items in parentheses are defined formatting instructions to be observed for each field. Username* (must only contain letters and numbers) Password* (minimum of 8 characters) PasswordVerify* (minimum of 8 characters, must match password) FirstName* (text string) LastName* (text string) Email (uses xxx@xxx.xxx format) PhoneNumber (uses (xxx) xxx-xxxx format) SignUpNewsletter (radio box for yes/no)

Tips:

JavaScript is case sensitive, so a variable named myVar is different from MyVar and myvar. Perform your form validation testing as you go rather than all at the end. It will be much easier to fix the error if you have a smaller sequence of code to review. Directions Read the assignment overview. Use the registration.html file to add functionality to the form found on the page. The JavaScript that you write should validate each field and, if errors are made, display appropriate error messages that direct the user to complete the form properly. Once the form is completed, your script should open the confirmation page (confirmation.php). Note: The input fields in the form with an asterisk are required fields.

Make sure to do the following:

Write JavaScript that defines that a field is required and generates an appropriate error message if the field has not been completed. Write JavaScript to validate all input fields per the formatting definitions that the field values should be checked against (found in the overview) after each field. Write JavaScript that displays an appropriate error correction message (next to the field) in the event a form entry error has been made. Write a JavaScript that will default the user’s cursor to the first erroneous input field in the event that there is an input error. Create a submit button that executes the validation when submitted. Once completed, view your pages in each of your two selected Web browsers to see if the content renders appropriately and consistently within each. Next, verify that your code is error free using the appropriate browser specific development tool found in the Resources. Take a screen capture of each of your validation results and save it for submission.

Submission Requirements

Upload your Web site files to your Web host. Submit your work in the courseroom using a single Zip file

containing the following:

Your entire Web site and all associated files.

A Word document with:

The URL to your Web site so the instructor can view your site on a live host. A screen capture of each of your two validations that you completed using the developer tools found in the Resources. Resources Form Field Validation and Error Messages Scoring Guide. Microsoft Edge Dev Tools. Safari Web Inspector Guide. Chrome DevTools. IT3215 Web Site Zip Files. Unit 05

Assignment 1

Query Strings and Storing Persistent Information

Overview

As Web forms get longer, we very commonly see them split across multiple pages to collect all of the necessary information. There are different reasons for this. A long form can be daunting for users and a large/long form can be difficult for users to fill out on a mobile device. These forms need to be designed so that the data entered by the user on the forms on each page will be submitted to the Web server simultaneously. This makes more sense as they are part of the same data set. The problem with stateless pages is that if the user moves from one page to the next, the data entered is lost. To bypass this issue, you will need to use query strings, hidden input fields, and cookies. In this assignment you will use the previously created registration.html file to send information to a second page named confirm.html. You will write a script on that page that will save the information from the form to a cookie and then display it on a same page. If the user goes back to this confirm.html page, the page should display the user form data from the registration entry that was last entered.

Tips:

It will help to output the array into the browser console so that you can verify that the string is being correctly parsed. Details on the browser console can be found in the Resources. To skip having to enter data into the form each time to test, it may help to create a JavaScript function that automatically fills in the fields for you and comment it out when completed. Directions Read the Overview. Modify the "registration.html" page created in the prior assessment to send a query (that has all input field information from that form) to a second page. When the user presses submit, all of the input fields from the registration.html form will be saved into a cookie. The user should then be forwarded to a second page (confirm.html (created by you)) that will read the cookie information and display it in a name/value pair using JavaScript.

Make sure to do the following:

Create and integrate a script on the registration.html page passes all of the input fields from the form when the submit button is pressed. Create a confirm.html page will read in the input from the query string data from the registration.html page and store them into variables first. Write a script that runs in response to the submit event, that saves the input from the registration.html page to a series of cookies to store each input, and opens a second page called confirm.html that reads and displays information from all the fields. Once completed, view your pages in each of your two selected Web browsers to see if the content renders appropriately and consistently within each. Next, verify that your code is error-free using the appropriate browser-specific development tool found in the Resources. Take a screen capture of each of your validation results and save it for submission.

Submission Requirements

Upload your Web site files to your Web host. Submit your work in the courseroom using a single Zip file

containing the following:

Your entire Web site and all associated files.

A Word document with:

The url to your Web site so faculty can view your site on a live host. A screen capture of each of your two validations that you completed using the developer tools found in the Resources. Resources Query Strings and Storing Persistent Information Scoring Guide. Microsoft Edge Dev Tools. Chrome DevTools. Safari Web Inspector Guide. IT3215 Web Site Zip Files.

2,931views
4.8
(381 ratings)

Related Study Guides

IT3215 | Programming Methods in Computer Science - Capella university

4. Jen Stevens Hint: Use the splice function in order to remove a specific item from the array. Tip: The array index starts at 0, so when displaying the index, you will need to add 1 to the index valu...

information-systemshuman-resources

Psychology aba 504- assignment 1 | Psychology homework help

7. Explain your conclusion based on principles of visual analysis. Refer to the magnitude/level of performance, the trend in performance, and the variability in performance for the data in each phase....

psychologyhuman-resources

Accounting Questions & Answers | Solutioninn.com

1. Tiana Morales is the director of the customer call center for Pierce Software. For the past three months, she has been keeping track of the support calls the center receives, and asks for your... B...

human-resourcesaccounting

[Solved] MAG Petroleum is an SME specialising in t | SolutionInn

5. Recommend when the system that you have developed should be updated to account for new sales data that will occur. Assume you have a computer software package. Table 1: Lubricant Sales for MAG PETR...

computer-scienceeconomics

CMSC350 Project 3 - The third programming project

CMSC 350 Project 3 The third programming project involves writing a program that performs a sort by using a binary search tree. The program should be able to sort lists of integers or lists of fractio...

computer-scienceeconomics

IT3215 | Programming Methods in Computer Science - Capella university

4. Jen Stevens Hint: Use the splice function in order to remove a specific item from the array. Tip: The array index starts at 0, so when displaying the index, you will need to add 1 to the index valu...

computer-sciencehuman-resources

Nutrition food journal | Science homework help

Nutrition Food Journal Derekhill Skills You’ll Gain by Completing This Assignment - Utilize multiple methods of measuring food - Track your food and beverage intake for a full day - Apply information...

statisticshuman-resources

Eco 550 check your understanding - week 8 | Economics homework help

ECO 550 Check Your Understanding - Week 8 studentinneedWeek 8 – Check Your Understanding Chapter 15 Exercise 2, 5, and 6 2. If contract promises were not excused because of acts of war, would the clea...

economicsinformation-systems

Need Help With A Similar Question?

Our experts deliver perfect solutions with guaranteed A+ grades

A+
Student Grade
98%
Success Rate
12h
Delivery Time
Join 1,000+ students who got their perfect solutions
Rated 4.9/5 by satisfied students

Need Help With This Question?

Academic Expert

Subject Matter Specialist

98%
Success Rate
24/7
Support

Why Students Trust Us

  • PhD-Level Expertise
  • Original Work Guarantee
  • Better Grade or Free

"Got an A+ on my assignment. Exactly what I needed!"

Recent Student