Best animal
Click on the photo of the best animal.
(If you were logged in as a student, you could submit an exercise solution, and get some feedback.)
Click on the photo of the best animal.
(If you were logged in as a student, you could submit an exercise solution, and get some feedback.)
Event-driven programming is where you attach code to events, like a button being clicked, or a page opening.
Your code is broken into fragments, across events. Variables keep everything coordinated.
Add chocolate to the expense tracking app.
(If you were logged in as a student, you could submit an exercise solution, and get some feedback.)
You have a BS template with some JS to load a navbar, and footer. You know how to make input fields, and buttons. You know how to tie JS code to events. You know how to validate. You know how to use variables to coordinate what happens across events.
Wow! You know a lot of stuff!
Time for a new app. This one is simple. We'll expand it in the next example.
We're going to use localStorage. It lets you store data on a user's computer, that a browser can access. For example:
bc.
Finish the course grade app. Add the other fields.
(If you were logged in as a student, you could submit an exercise solution, and get some feedback.)
Write an app to help with scoring in Aussie Rules football.
(If you were logged in as a student, you could submit an exercise solution, and get some feedback.)