Today I began by creating categories on my WordPress blog, and going back to categorize my current posts appropriately. I then went to ask Mrs. Koehn if she could fill out both an SLC recommendation letter as well as a recommendation letter to OU for me.
This chapter, just like Chapter 4, was a lecture based chapter with some example images of some of the coding.
Danny Goodman calls statements that load when a document loads “immediate statements”, because they run immediately as the page is loading. He calls the remaining ways for statements to load “deferred scripts”. The way he describes this is by, firstly, introducing us to what a function is and does, as well as what the onLoad= event handler does. The onLoad= event handler triggers the function that is called as soon as the page and it’s contents are loaded. The same type of information is applied when running a script off of a users actions, such as clicking a button or sliding a slider. The main difference is instead of using the onLoad= event handler, an onClick= handler is used.
This is a photograph of some of the coding and scripting done in this chapter.
- The left picture just shows how you can put <script></script> tags in the head and body, as well as use as many as you want.
- The middle picture is showing the code and script to the page on the right, which uses an onClick event handler to call a function that alerts the user.
- The right picture shows how the script in the middle works. When you click the “Press Me!” button, the alert box that says “Ouch!” pops up.
After I completed Chapter 5, I went to the Northwest Technology Center webpage and completely filled out my application for the Superintendent’s Leadership Class.