Lesson 1, Topic 1
In Progress

What are buttons?

yousef 23/07/2024

Buttons. Buttons, buttons, buttons! Besides being the shape of my nose, a button is an area that you click to make something happen. Look around this webpage, how many button-y things do you see?

Look around wherever you’re sitting, how many button-y things surround you?There are buttons everywhere, and you’ll often want some sort of button in the programs that you make here. Check out these example programs to see how they use buttons:

There are some programming environments that provide buttons and other user interface elements out of the box, like HTML provides for webpages, but ProcessingJS is not one of those. Instead, ProcessingJS gives us building blocks: