1.      Once the page is loaded an alert message will be displayed Example: “Yehey! Last Hurray!”

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

JavaScript

Do the following using JavaScript:

1.      Once the page is loaded an alert message will be displayed

Example: “Yehey! Last Hurray!”

2.      Display your name in any HTML element/s you’ve learned to use.

Ex: paragraphs, headers

3.      Display today’s date in any HTML element/s you’ve learned to use.

4.      Input your age (either in prompt/form element) and test it using the following criteria:

Example:

Input: 41

Output: Millenials

Generations

Born

Current Ages

Gen Z

1997 – 2012

10 – 25

Millennials

1981 – 1996

26 – 41

Gen X

1965 – 1980

42 – 57

Boomers II (a/k/a Generation Jones)*

1955 – 1964

58 – 67

Boomers I*

1946 – 1954

68 – 76

Post War

1928 – 1945

77 – 94

WWII

1922 – 1927

95 – 100

1.      Display a picture of a  younger and present you using onmouseover and onmouseout events

2.      Asks for your top 2 favorite colors: either using a radio, checkbox, dropdown menu, prompt, or textbox

o   set the top one as the background color

o   set the top two as the text color

Do the following using JavaScript:
1. Once the page is loaded an alert message will be displayed
Example: "Yehey! Last Hurray!*
2. Display your name in any HTML element/s you've learned to use.
Ex: paragraphs, headers
3. Display today's date in any HTML element/s you've learned to use.
Input your age (either in prompt/form element) and test it using the following criteria:
4.
Example:
Input: 41
Output: Millenials
1.
Generations
2.
Gen Z
Millennials
Gen X
Boomers II (a/k/a Generation Jones)*
Boomers I*
Post War
WWII
Born
1997 - 2012
1981 - 1996
1965 - 1980
1955-1964
Current Ages
10 - 25
26-41
42 - 57
58-67
1946-1954 68-76
1928-1945 77-94
Display a picture of a younger and present you using onmouseover and onmouseout events
Asks for your top 2 favorite colors: either using a radio, checkbox, dropdown menu, prompt, or textbox
o set the top one as the background color
o set the top two as the text color
1922-1927 95 - 100
Transcribed Image Text:Do the following using JavaScript: 1. Once the page is loaded an alert message will be displayed Example: "Yehey! Last Hurray!* 2. Display your name in any HTML element/s you've learned to use. Ex: paragraphs, headers 3. Display today's date in any HTML element/s you've learned to use. Input your age (either in prompt/form element) and test it using the following criteria: 4. Example: Input: 41 Output: Millenials 1. Generations 2. Gen Z Millennials Gen X Boomers II (a/k/a Generation Jones)* Boomers I* Post War WWII Born 1997 - 2012 1981 - 1996 1965 - 1980 1955-1964 Current Ages 10 - 25 26-41 42 - 57 58-67 1946-1954 68-76 1928-1945 77-94 Display a picture of a younger and present you using onmouseover and onmouseout events Asks for your top 2 favorite colors: either using a radio, checkbox, dropdown menu, prompt, or textbox o set the top one as the background color o set the top two as the text color 1922-1927 95 - 100
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Properties of CSS
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
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