Chapter 2 - Score Calculator with JavaScript Functions
I added a quiz score calculator that allows the user to enter the total number of questions and the number answered correctly.
The JavaScript function uses the values entered by the user, performs a mathematical calculation to determine the score percentage, and displays an evaluation message based on the result.
Open Chapter 2 ProjectChapter 3 - CCNA Topic Selector with Switch Statement
I added a CCNA study tips feature where the user selects their weakest networking topic from a dropdown menu.
The JavaScript uses a switch statement to check the selected topic and display a different study recommendation for each choice.
Open Chapter 3 ProjectChapter 4 - Exception Handling
I updated the quiz score calculator by adding exception handling to improve the form validation process.
The JavaScript uses try/catch statements to detect invalid input and displays error messages for issues such as blank values, negative numbers, zero questions, and having more correct answers than total questions.
Open Chapter 4 ProjectChapter 5 - Web Security
I created a separate web security page that displays information about the user's browser and computer that a web application can access.
The page displays multiple browser properties and includes three web security resources with links and summaries explaining safe browsing practices.
Open Chapter 5 ProjectChapter 6 - CCNA Challenge Form Validation
I added validation to the CCNA challenge form on the main case study page.
To view this feature, spin the CCNA topic wheel and click the Start CCNA Challenge button to open the form.
The form uses multiple input types including text boxes, a selection list, option buttons, check boxes, and a text area. JavaScript validation checks that all required fields are completed and verifies the email format before accepting the form submission.
Open Chapter 6 ProjectChapter 7 - Homegrown Pizza Builder Using JavaScript Objects
I created a pizza builder page that allows the user to select a pizza, add toppings, and calculate the final order total.
The JavaScript uses Chapter 7 concepts including string methods, arrays, array sorting, the Math object, and the Date object to create a customized pizza receipt.
The page also uses JavaScript validation to check the order information before displaying the receipt.
Open Chapter 7 ProjectChapter 8 - JSON File
I completed Hands-on Exercise 8-4, which works with reading information from a JSON file.
The JavaScript uses FileReader, JSON.parse(), and DOM methods to load the JSON data and display it in a table.
Open Chapter 8 ProjectChapter 9 - Saving Favorite Pizza with Web Storage
I enhanced the Homegrown Pizza Builder page by adding web storage to remember user information between browsing sessions.
The JavaScript uses localStorage to save the customer's name, email address, selected pizza, and toppings. When the user returns to the page, their saved favorite pizza information is automatically loaded.
The user can save a favorite pizza, clear the saved information, or use the Order Again feature to reload the saved order back into the form.
Open Chapter 9 Project