Question: 1 ) First time, after page loads, we would like to see a page with 3 clickable buttons, as shown below. 2 ) After the

1) First time, after page loads, we would like to see a page with 3 clickable buttons, as shown below.
2) After the first button is clicked.
3) After the second button is clicked.
4) After clicking the OK button, depending on the time of day the message should NOT display Hello First & Last Name! Instead,
Good morning before 12pm noon,
Good afternoon after 12pm noon, or
Good evening after 6pm
followed by the first and last name the user entered.
5) After clicking the third button.
7) Your JavaScript should subtract the age entered from the current year from the browser. Ex. If the year is 2021 and the user entered 100, then s/he was born 2021-100=1921
1 ) First time, after page loads, we would like

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!