Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 449 Bytes

README.md

File metadata and controls

10 lines (6 loc) · 449 Bytes

Happy Sad

Problem

Using HTML, CSS, and JavaScript please do the following.

Write a program that prints the numbers 1 to 100 within a gray block. However, for multiples of three also render the happy face image (images/happy.png). For multiples of five render the sad face image (images/sad.png). For multiples of three and five output both next to the number.

Output example:

Happy Sad output example.