Your assignment is to create a Web page that welcomes the user to the page with an appropriate greeting and displays the current date and time. The requirements of your program are as follows: • Include a comment in the code that includes the assignment name, your name and the date • The web site title is Unit 5 Graded Exercise 1 • Include a header that is Welcome to Your Name's Web Page! Complete the code in a single .html file (no separate .js file) • Include a greeting that is consistent with the time of day: • "Good morning!" for times after midnight up until noon (including noon) • "Good afternoon!" for times after noon and before 5 PM • "Good evening!" for times from 5 PM until midnight (including midnight) • Following the greeting display the time and date as formatted in the examples below • The date and time will update to the current date and time each time the page is refreshed Example of the page format and layout: Welcome to Your Name's Web Page Good evening! It is 5:32 PM on Wednesday, May 22, 2019 Hint: You may find it useful to use the Date object and to create variables to store elements of the date. For example: var dateObject = new Date(); var minuteValue = dateObject.getMinutes(); var hourValue dateObject.getHours(); Note: You do not have to open a previous exercise to complete this exercise.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter13: Web Site Applications
Section: Chapter Questions
Problem 3E
icon
Related questions
Question
100%

I'm creating a webpage that creates an appropriate greeting using the current date and time. See the instructions.

Your assignment is to create a Web page that welcomes the user to the
page with an appropriate greeting and displays the current date and time.
The requirements of your program are as follows:
• Include a comment in the code that includes the assignment name,
your name and the date
• The web site title is Unit 5 Graded Exercise 1
• Include a header that is Welcome to Your Name's Web Page!
• Complete the code in a single .html file (no separate .js file)
• Include a greeting that is consistent with the time of day:
• "Good morning!" for times after midnight up until noon (including
noon)
• "Good afternoon!" for times after noon and before 5 PM
• "Good evening!" for times from 5 PM until midnight (including
midnight)
• Following the greeting display the time and date as formatted in the
examples below
• The date and time will update to the current date and time each time
the page is refreshed
Example of the page format and layout:
Welcome to Your Name's Web Page
Good evening! It is 5:32 PM on Wednesday, May 22, 2019
Hint: You may find it useful to use the Date object and to create variables
to store elements of the date. For example:
var dateObject = new Date();
var minuteValue = dateObject.getMinutes();
var hourValue = dateObject.getHours();
Note: You do not have to open a previous exercise to complete this
exercise.
Transcribed Image Text:Your assignment is to create a Web page that welcomes the user to the page with an appropriate greeting and displays the current date and time. The requirements of your program are as follows: • Include a comment in the code that includes the assignment name, your name and the date • The web site title is Unit 5 Graded Exercise 1 • Include a header that is Welcome to Your Name's Web Page! • Complete the code in a single .html file (no separate .js file) • Include a greeting that is consistent with the time of day: • "Good morning!" for times after midnight up until noon (including noon) • "Good afternoon!" for times after noon and before 5 PM • "Good evening!" for times from 5 PM until midnight (including midnight) • Following the greeting display the time and date as formatted in the examples below • The date and time will update to the current date and time each time the page is refreshed Example of the page format and layout: Welcome to Your Name's Web Page Good evening! It is 5:32 PM on Wednesday, May 22, 2019 Hint: You may find it useful to use the Date object and to create variables to store elements of the date. For example: var dateObject = new Date(); var minuteValue = dateObject.getMinutes(); var hourValue = dateObject.getHours(); Note: You do not have to open a previous exercise to complete this exercise.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 4 images

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
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L