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

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education