1. Once the page is loaded an alert message will be displayed Example: “Yehey! Last Hurray!”
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


Step by step
Solved in 3 steps









