In this project you will use selection lists to store long lists of hypertext links that might overwhelm a page if displayed within a navigation list. The name of a linked page is displayed as the text of a selection list option while the URL is stored as that option's value. By selecting an item from one of the selection list options, the browser will open the web page with that selected URL. To script this action, you will use the event object. One of the properties associated with the event object is as follows: evt.target where evt is the variable name assigned to event object and target is the object that received the event. In this project the target is the option selected by the user from one of the selection lists. The event will be the change event. A preview of the page is shown in Figure 6-39

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter5: Working With Excel Tables, Pivottables, And Pivotcharts
Section: Chapter Questions
Problem 4.8CP
icon
Related questions
Question
In this project you will use selection lists to store long lists of hypertext links that might overwhelm a page if displayed within a navigation list. The name of a linked page is displayed as the text of a selection list option while the URL is stored as that option's value. By selecting an item from one of the selection list options, the browser will open the web page with that selected URL. To script this action, you will use the event object. One of the properties associated with the event object is as follows: evt.target where evt is the variable name assigned to event object and target is the object that received the event. In this project the target is the option selected by the user from one of the selection lists. The event will be the change event. A preview of the page is shown in Figure 6-39
6. Save your changes to the file and then open project06-01.html in your web browser.
7. Verify that you cannot submit the form if your password is less than eight characters long and does not include
8. Verify that you cannot submit the form if the two passwords do not match.
at least one number and one letter.
Hands-On Project 6-2
displayed within a navigation list. The name of a linked page is displayed as the text of a selection list option
In this project you will use selection lists to store long lists of hypertext links that might overwhelm a page if
browser will open the web page with that selected URL. To script this action, you will use the event object.
while the URL is stored as that option's value. By selecting an item from one of the selection list options, the
One of the properties associated with the event object is as follows:
evt.target
this project the target is the option selected by the user from one of the selection lists. The event will be the
change event. A preview of the page is shown in Figure 6-39.
where evt is the variable name assigned to event object and target is the object that received the event. In
APA
HANDS-ON PROJECTS
Hands-on Project 6-2
201511
Government Sites on the Web
Select a site from one of the drop-down lists below.
Executive Branch
Select a website
Legislative Branch
Select a website
Judicial Branch
Select a website
State Governments
Select a website
Figure 6-39 Completed Project 6-2
247
Do the following:
1. Use your code editor to open the project06-02_txt.html and project06-02_txt.js files from the js06 ►
project02 folder. Enter your name and the date in the comment section of each file and save them as
project06-02.html and project06-02.js, respectively.
2. Go to the project06-02.html file in your code editor and link the page to the project06-02.js file, defe
of the script. Study the contents of the file and note that with each option the URL address is stored
options value. Save your changes to the file.
3. Go to the project06-02.js file in your code editor. Add an event listener that runs an anonymous fum
Lugor the querySelectorAll () method
Transcribed Image Text:6. Save your changes to the file and then open project06-01.html in your web browser. 7. Verify that you cannot submit the form if your password is less than eight characters long and does not include 8. Verify that you cannot submit the form if the two passwords do not match. at least one number and one letter. Hands-On Project 6-2 displayed within a navigation list. The name of a linked page is displayed as the text of a selection list option In this project you will use selection lists to store long lists of hypertext links that might overwhelm a page if browser will open the web page with that selected URL. To script this action, you will use the event object. while the URL is stored as that option's value. By selecting an item from one of the selection list options, the One of the properties associated with the event object is as follows: evt.target this project the target is the option selected by the user from one of the selection lists. The event will be the change event. A preview of the page is shown in Figure 6-39. where evt is the variable name assigned to event object and target is the object that received the event. In APA HANDS-ON PROJECTS Hands-on Project 6-2 201511 Government Sites on the Web Select a site from one of the drop-down lists below. Executive Branch Select a website Legislative Branch Select a website Judicial Branch Select a website State Governments Select a website Figure 6-39 Completed Project 6-2 247 Do the following: 1. Use your code editor to open the project06-02_txt.html and project06-02_txt.js files from the js06 ► project02 folder. Enter your name and the date in the comment section of each file and save them as project06-02.html and project06-02.js, respectively. 2. Go to the project06-02.html file in your code editor and link the page to the project06-02.js file, defe of the script. Study the contents of the file and note that with each option the URL address is stored options value. Save your changes to the file. 3. Go to the project06-02.js file in your code editor. Add an event listener that runs an anonymous fum Lugor the querySelectorAll () method
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Elements and Tags
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning