Define the following terms
The user clicks a button
Music plays
A screen with button, images, and text
Why is it important for element IDs to have meaningful names?
Its important for element IDs to have meaningful names because it makes it easier to code and remember.
What is the difference between a programming language and natural (every-day) language?
The difference between programming and natural language is that in programming you have to declare the variable to make it clear what it equals. For example in programming we would have to do day==Tuesday && day==Wednesday. For everyday language you would just say the day is Tuesday and Wednesday.
What happens when you run the program without clicking on any of the buttons?
What happens when you click the green button?
When you run the program without clicking on any of the buttons only the yellow button font size will change since it's not under a onEvent. When you click the green button it will become smaller because it goes from 300 in width to 200.
What happens when you run the program without clicking on any of the buttons?
A sequential program follows the order of the code. An event driven program follows the type of thing that will cause the event to happen and then follow the code under it.
What will happen when you run this program and click on one of the buttons?
What advice would you give to the person who wrote this program so that they can avoid this type of bug in the future?
The code won't work because the button names are mixed up.
The advice I would give them is to give the buttons different names next time.
What is one thing you really enjoyed about today's activity?
Is there anything that you found confusing or need extra help with?
I enjoyed debugging the codes because it was fun to figure out the problems and fix them. It felt rewarding. I found fixing the code that was misplaced confusing because sometimes it was a lot.