In this project, we'll make a website that automatically tells you the day and time.
1. Create a new HTML document and add an appropriate title.
2. Add a heading that says:
"Hello! Today is
4. Write your own code that can convert that number to the name of the day.
d.innerHTML =, replace the "DAY" on the webpage with the actual day.
6. Add a second line that says, "The time is
9. Write your own code to combine the hours and minutes with a colon, adding AM/PM, (so it would look like "6:35 PM", for example).
Hint: You'll need to make sure it displays "7:05" instead of "7:5" for example.
t.innerHTML =, replace the "TIME" on the webpage with the actual time.
11. Now style your page with CSS -- choose your fonts, background colors, borders, etc.
12. When you're finished, submit your webpage below.