EECS 1012 Lecture Notes - Lecture 8: Javascript, Scripting Language, For Loop
EECS 1012 verified notes
8/11View all
Document Summary
Lecture 8-javascript (skipped lecture 7 because it only tells you how to think, does not give any info of what we"re supposed to learn. Javascript uses client side scripting as it runs on the browser. Javascript provides a way to change the html content without contacting the web server. Can get information about a user"s computer. Difference between javascript and java is that; 1. javascript is interpreted and. 3. javascript is contained within a web page and integrates with its html/css content. Script tag should be placed in html page"s head. Script code is stored in a separate . js file. Pay attention to the notation, there is an open and closed script tag. It is preferred to link in a js file. Javascript programs wait for user actions called events and respond to them. Like a button being a clicked on a website. Button"s text appears inside tag; can also contain images.