Daily Greetings


Daily Greetings


December 30, 2021

example p5.js javascript if-statements

This sketch shows a different message depending on the time of day.

Click here to edit this code in the p5.js editor.

good morning good afternoon good evening go to bed

Remix Ideas

  • Change the messages and emojis that show throughout the day.
  • Add different times of day, or activites that always happen around the same time.
  • Show messages at specific times, like 11:11 or 1:23

If Statements Examples

Comments

Happy Coding is a community of folks just like you learning about coding.
Do you have a comment or question? Post it here!

Comments are powered by the Happy Coding forum. This page has a corresponding forum post, and replies to that post show up as comments here. Click the button above to go to the forum to post a comment!