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
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
Chapter5: Working With Excel Tables, Pivottables, And Pivotcharts
Section: Chapter Questions
Problem 4.8CP
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](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Ff37e66db-881a-46b5-ba1b-98fe2bd03f7d%2Fd7d7f03c-b6cc-4af5-8a0d-71ed33fa2f89%2F4hxxff_processed.jpeg&w=3840&q=75)
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
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
![New Perspectives on HTML5, CSS3, and JavaScript](https://www.bartleby.com/isbn_cover_images/9781305503922/9781305503922_smallCoverImage.gif)
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
![New Perspectives on HTML5, CSS3, and JavaScript](https://www.bartleby.com/isbn_cover_images/9781305503922/9781305503922_smallCoverImage.gif)
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning