I designed this code that incorporated if statements. Every time the mouse is pressed the circle gets smaller and the background color changes. Conditionals are all about meeting certain requirements in order to have an action occur. Logic gates are similar in the way that they interpret information. This code was designed to show how useful logic gates and conditions become when coding.
top of page
I am a senior in high school and have been a part of the CTE program for a couple of years.
bottom of page
Comments