Hands-on Project 1-1 Financial Planning Tips Figure 1-17: Completed index.htm file 6. Use the W3C Markup Validation Service to validate the index.htm document, and then, if necessary, fix any errors that the document contains. 7. Close your web browser window. Hands-On Project 1-2 In this exercise, you will create a web page that uses variables to display information about high-speed Internet plans offered by an Internet service provider. 1. In your text editor, open index.htm from the HandsOn Project 1-2 folder in the Chapterol folder. Enter your name and today's date where indicated in the comment section in the document head. 2. Just above the closing tag, add the following element to link the file contain- ing the Modernizr library: 3. Within the article element below the h2 element, enter to create a new script section. 4. Within the script section you created in the previous step, enter the following comment and var statements. These statements declare variables containing the names and speeds of the high-speed Internet plans. 1 //initialize variables for service names and speeds 2 var servicelName - "Basic": 3 var service2 Name = "Express"; 4 var service Name - "Extreme"; 5 var service Name - "Ultimate"; 6 var servicel Speed - 5; 7 var service2Speed - 25; 8 var service 3Speed - 50; 9 var service 4Speed - 150; Chapter 1 Introduction to JavaScript ction, locate the first row. Wi th weate a script element contamina me of the first type of service be able element, within the thead se clement, enter the following code to che write() statement to write the name document.write() stateme cent.write servicelName) ing the following content: for each of the remaining table cells, using the fall 6. Repeat Step 5 for each of the document.write(servicel Speed): script> document.write(service 2Name); 7. Save your work, and then open ind columns and five rows should be disple Plans," as shown in Figure 1-18. 8. Use the W3C Markup Validations k, and then open index.htm in a web browser. A table containing e rows should be displayed below the h2 heading "High-Speed inte Markup Validation Service to validate the index.htm document dex.htm document, and necessary, fix any errors that the document contains. 9. Close your web browser window. on Projects