SlideShare a Scribd company logo
1 of 1
Download to read offline
Exercise 5: Pop up Windows Given the following HTML page: Create an embedded JavaScript
function named getUserInfo that prompts the user with the following two questions after the
HTML page has loaded: - What is your full name? - How old are you? The function should then
build a string in the form of: Hi, my name is NAME and I'm XX years old. The string must then
be inserted into the container div with id: content.

More Related Content

More from info794682

Find the present worth of the following cash flow diagram at i=8 per.pdf
 Find the present worth of the following cash flow diagram at i=8 per.pdf Find the present worth of the following cash flow diagram at i=8 per.pdf
Find the present worth of the following cash flow diagram at i=8 per.pdfinfo794682
 
Exhibit 2.7 Refer to Exhibit 2-7. For which of the following is the a.pdf
 Exhibit 2.7 Refer to Exhibit 2-7. For which of the following is the a.pdf Exhibit 2.7 Refer to Exhibit 2-7. For which of the following is the a.pdf
Exhibit 2.7 Refer to Exhibit 2-7. For which of the following is the a.pdfinfo794682
 
Find the Pumalue for the indicated hypodhesis sest whithe given stand.pdf
 Find the Pumalue for the indicated hypodhesis sest whithe given stand.pdf Find the Pumalue for the indicated hypodhesis sest whithe given stand.pdf
Find the Pumalue for the indicated hypodhesis sest whithe given stand.pdfinfo794682
 
Find the indicated z score. The graph depicts the standard normal.pdf
 Find the indicated z score. The graph depicts the standard normal.pdf Find the indicated z score. The graph depicts the standard normal.pdf
Find the indicated z score. The graph depicts the standard normal.pdfinfo794682
 
Find the following values by using the Poisson formula. Appendix A St.pdf
 Find the following values by using the Poisson formula. Appendix A St.pdf Find the following values by using the Poisson formula. Appendix A St.pdf
Find the following values by using the Poisson formula. Appendix A St.pdfinfo794682
 
Find the area of the shaded region. The graph to the right depicts 1Q.pdf
 Find the area of the shaded region. The graph to the right depicts 1Q.pdf Find the area of the shaded region. The graph to the right depicts 1Q.pdf
Find the area of the shaded region. The graph to the right depicts 1Q.pdfinfo794682
 
Find the following values by using the Poisson formula. (Round in.pdf
 Find the following values by using the Poisson formula. (Round in.pdf Find the following values by using the Poisson formula. (Round in.pdf
Find the following values by using the Poisson formula. (Round in.pdfinfo794682
 
Find the area of the shaded region. The graph to the right .pdf
 Find the area of the shaded region. The graph to the right .pdf Find the area of the shaded region. The graph to the right .pdf
Find the area of the shaded region. The graph to the right .pdfinfo794682
 
Find the area of the shaded region. The graph to the right depicts IQ.pdf
 Find the area of the shaded region. The graph to the right depicts IQ.pdf Find the area of the shaded region. The graph to the right depicts IQ.pdf
Find the area of the shaded region. The graph to the right depicts IQ.pdfinfo794682
 
Fill in the missing values in the following table. Assume that the va.pdf
 Fill in the missing values in the following table. Assume that the va.pdf Fill in the missing values in the following table. Assume that the va.pdf
Fill in the missing values in the following table. Assume that the va.pdfinfo794682
 
Figure 4 Sample H-R Diagram QUESTIONS 1. What 3 possible properties .pdf
 Figure 4 Sample H-R Diagram QUESTIONS 1. What 3 possible properties .pdf Figure 4 Sample H-R Diagram QUESTIONS 1. What 3 possible properties .pdf
Figure 4 Sample H-R Diagram QUESTIONS 1. What 3 possible properties .pdfinfo794682
 
Fig. 6 Earthquake Hazard MapUsing Fig. 6 and the distances from qu.pdf
 Fig. 6 Earthquake Hazard MapUsing Fig. 6 and the distances from qu.pdf Fig. 6 Earthquake Hazard MapUsing Fig. 6 and the distances from qu.pdf
Fig. 6 Earthquake Hazard MapUsing Fig. 6 and the distances from qu.pdfinfo794682
 
Fill the blanks. A program in execution is known as a an Question 5.pdf
 Fill the blanks. A program in execution is known as a  an Question 5.pdf Fill the blanks. A program in execution is known as a  an Question 5.pdf
Fill the blanks. A program in execution is known as a an Question 5.pdfinfo794682
 
Fenway Athletic Club plans to offer its members preferred stock with .pdf
 Fenway Athletic Club plans to offer its members preferred stock with .pdf Fenway Athletic Club plans to offer its members preferred stock with .pdf
Fenway Athletic Club plans to offer its members preferred stock with .pdfinfo794682
 
Figure 8-10 Refer to Figure 8-10. Suppose the government imposes a ta.pdf
 Figure 8-10 Refer to Figure 8-10. Suppose the government imposes a ta.pdf Figure 8-10 Refer to Figure 8-10. Suppose the government imposes a ta.pdf
Figure 8-10 Refer to Figure 8-10. Suppose the government imposes a ta.pdfinfo794682
 
Fetile 10.90 A wok cerler has the following frve jobs waiting to be p.pdf
 Fetile 10.90 A wok cerler has the following frve jobs waiting to be p.pdf Fetile 10.90 A wok cerler has the following frve jobs waiting to be p.pdf
Fetile 10.90 A wok cerler has the following frve jobs waiting to be p.pdfinfo794682
 
Falx cerebri Dural sinuses Arachnoid mater Arachnoid granulation Peri.pdf
 Falx cerebri Dural sinuses Arachnoid mater Arachnoid granulation Peri.pdf Falx cerebri Dural sinuses Arachnoid mater Arachnoid granulation Peri.pdf
Falx cerebri Dural sinuses Arachnoid mater Arachnoid granulation Peri.pdfinfo794682
 
Exercise 16-17 (Algo) Weighted average Production cost report LO P2 .pdf
 Exercise 16-17 (Algo) Weighted average Production cost report LO P2 .pdf Exercise 16-17 (Algo) Weighted average Production cost report LO P2 .pdf
Exercise 16-17 (Algo) Weighted average Production cost report LO P2 .pdfinfo794682
 
Exercise 21-6 (Algo) Preparing flexible budget performance report LO .pdf
 Exercise 21-6 (Algo) Preparing flexible budget performance report LO .pdf Exercise 21-6 (Algo) Preparing flexible budget performance report LO .pdf
Exercise 21-6 (Algo) Preparing flexible budget performance report LO .pdfinfo794682
 
Exercise 3 (20 points) Consider a general multi-asset financial marke.pdf
 Exercise 3 (20 points) Consider a general multi-asset financial marke.pdf Exercise 3 (20 points) Consider a general multi-asset financial marke.pdf
Exercise 3 (20 points) Consider a general multi-asset financial marke.pdfinfo794682
 

More from info794682 (20)

Find the present worth of the following cash flow diagram at i=8 per.pdf
 Find the present worth of the following cash flow diagram at i=8 per.pdf Find the present worth of the following cash flow diagram at i=8 per.pdf
Find the present worth of the following cash flow diagram at i=8 per.pdf
 
Exhibit 2.7 Refer to Exhibit 2-7. For which of the following is the a.pdf
 Exhibit 2.7 Refer to Exhibit 2-7. For which of the following is the a.pdf Exhibit 2.7 Refer to Exhibit 2-7. For which of the following is the a.pdf
Exhibit 2.7 Refer to Exhibit 2-7. For which of the following is the a.pdf
 
Find the Pumalue for the indicated hypodhesis sest whithe given stand.pdf
 Find the Pumalue for the indicated hypodhesis sest whithe given stand.pdf Find the Pumalue for the indicated hypodhesis sest whithe given stand.pdf
Find the Pumalue for the indicated hypodhesis sest whithe given stand.pdf
 
Find the indicated z score. The graph depicts the standard normal.pdf
 Find the indicated z score. The graph depicts the standard normal.pdf Find the indicated z score. The graph depicts the standard normal.pdf
Find the indicated z score. The graph depicts the standard normal.pdf
 
Find the following values by using the Poisson formula. Appendix A St.pdf
 Find the following values by using the Poisson formula. Appendix A St.pdf Find the following values by using the Poisson formula. Appendix A St.pdf
Find the following values by using the Poisson formula. Appendix A St.pdf
 
Find the area of the shaded region. The graph to the right depicts 1Q.pdf
 Find the area of the shaded region. The graph to the right depicts 1Q.pdf Find the area of the shaded region. The graph to the right depicts 1Q.pdf
Find the area of the shaded region. The graph to the right depicts 1Q.pdf
 
Find the following values by using the Poisson formula. (Round in.pdf
 Find the following values by using the Poisson formula. (Round in.pdf Find the following values by using the Poisson formula. (Round in.pdf
Find the following values by using the Poisson formula. (Round in.pdf
 
Find the area of the shaded region. The graph to the right .pdf
 Find the area of the shaded region. The graph to the right .pdf Find the area of the shaded region. The graph to the right .pdf
Find the area of the shaded region. The graph to the right .pdf
 
Find the area of the shaded region. The graph to the right depicts IQ.pdf
 Find the area of the shaded region. The graph to the right depicts IQ.pdf Find the area of the shaded region. The graph to the right depicts IQ.pdf
Find the area of the shaded region. The graph to the right depicts IQ.pdf
 
Fill in the missing values in the following table. Assume that the va.pdf
 Fill in the missing values in the following table. Assume that the va.pdf Fill in the missing values in the following table. Assume that the va.pdf
Fill in the missing values in the following table. Assume that the va.pdf
 
Figure 4 Sample H-R Diagram QUESTIONS 1. What 3 possible properties .pdf
 Figure 4 Sample H-R Diagram QUESTIONS 1. What 3 possible properties .pdf Figure 4 Sample H-R Diagram QUESTIONS 1. What 3 possible properties .pdf
Figure 4 Sample H-R Diagram QUESTIONS 1. What 3 possible properties .pdf
 
Fig. 6 Earthquake Hazard MapUsing Fig. 6 and the distances from qu.pdf
 Fig. 6 Earthquake Hazard MapUsing Fig. 6 and the distances from qu.pdf Fig. 6 Earthquake Hazard MapUsing Fig. 6 and the distances from qu.pdf
Fig. 6 Earthquake Hazard MapUsing Fig. 6 and the distances from qu.pdf
 
Fill the blanks. A program in execution is known as a an Question 5.pdf
 Fill the blanks. A program in execution is known as a  an Question 5.pdf Fill the blanks. A program in execution is known as a  an Question 5.pdf
Fill the blanks. A program in execution is known as a an Question 5.pdf
 
Fenway Athletic Club plans to offer its members preferred stock with .pdf
 Fenway Athletic Club plans to offer its members preferred stock with .pdf Fenway Athletic Club plans to offer its members preferred stock with .pdf
Fenway Athletic Club plans to offer its members preferred stock with .pdf
 
Figure 8-10 Refer to Figure 8-10. Suppose the government imposes a ta.pdf
 Figure 8-10 Refer to Figure 8-10. Suppose the government imposes a ta.pdf Figure 8-10 Refer to Figure 8-10. Suppose the government imposes a ta.pdf
Figure 8-10 Refer to Figure 8-10. Suppose the government imposes a ta.pdf
 
Fetile 10.90 A wok cerler has the following frve jobs waiting to be p.pdf
 Fetile 10.90 A wok cerler has the following frve jobs waiting to be p.pdf Fetile 10.90 A wok cerler has the following frve jobs waiting to be p.pdf
Fetile 10.90 A wok cerler has the following frve jobs waiting to be p.pdf
 
Falx cerebri Dural sinuses Arachnoid mater Arachnoid granulation Peri.pdf
 Falx cerebri Dural sinuses Arachnoid mater Arachnoid granulation Peri.pdf Falx cerebri Dural sinuses Arachnoid mater Arachnoid granulation Peri.pdf
Falx cerebri Dural sinuses Arachnoid mater Arachnoid granulation Peri.pdf
 
Exercise 16-17 (Algo) Weighted average Production cost report LO P2 .pdf
 Exercise 16-17 (Algo) Weighted average Production cost report LO P2 .pdf Exercise 16-17 (Algo) Weighted average Production cost report LO P2 .pdf
Exercise 16-17 (Algo) Weighted average Production cost report LO P2 .pdf
 
Exercise 21-6 (Algo) Preparing flexible budget performance report LO .pdf
 Exercise 21-6 (Algo) Preparing flexible budget performance report LO .pdf Exercise 21-6 (Algo) Preparing flexible budget performance report LO .pdf
Exercise 21-6 (Algo) Preparing flexible budget performance report LO .pdf
 
Exercise 3 (20 points) Consider a general multi-asset financial marke.pdf
 Exercise 3 (20 points) Consider a general multi-asset financial marke.pdf Exercise 3 (20 points) Consider a general multi-asset financial marke.pdf
Exercise 3 (20 points) Consider a general multi-asset financial marke.pdf
 

Recently uploaded

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 

Recently uploaded (20)

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 

Exercise 5 Pop up Windows Given the following HTML page Create an e.pdf

  • 1. Exercise 5: Pop up Windows Given the following HTML page: Create an embedded JavaScript function named getUserInfo that prompts the user with the following two questions after the HTML page has loaded: - What is your full name? - How old are you? The function should then build a string in the form of: Hi, my name is NAME and I'm XX years old. The string must then be inserted into the container div with id: content.