Lab 3 Web Client Programming
Lab 3
Lab 3 is another JavaScript lab in which we just used one button to create an alert when pressed. First, I created a visible background that is not so tenuous on the eye, so I chose black. Then I made a heading on photoshop so it would be aesthetically pleasing. After that, I created the button which required two documents: HTML and JS both. I had the direct the browser for it to run the script when the page would finish loading using "window.onload" and if/then statements.
To create this lab, I used Adobe Dreamweaver which alleviates the pain of having to do HTML pages manually using NotePad. Like I previously stated before, this is relevant to Web Design because you are using HTML codes to define the page itself using JS and connecting it to the main page using a script type. It has all the aspects a Web Design page would need. This would be an essential thing to know if I were to create a website. Every website has a button when clicked redirects you to an alert message.
No comments:
Post a Comment