Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.

Slideshare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.

Javascript is not like java\n@adactio once said &amp;#x201C;Java is to Javascript as Ham is to Hamster&amp;#x201D;\n

HTML is the building blocks that websites are made\nThey are &amp;#x2018;elements&amp;#x2019; of a web page\n

CSS is the styling, the decorations of the website.\n

So, we have a house. We have our HTML building blocks, and we have paint on the walls, and our sites are looking gooood :)\nWhy do we need javascript?\nThink of javascript as the electricity of the house. It makes things inside your house do stuff.\n

BBC uses it over their site... but just as an example\nhome page, boxes minimise, move, add etc. etc.\n

15.
// THIS WILL THROW AN ERROR IN INTERNET EXPLORERvar obj = { a:‘a’, b:’b’, // remove the final ,}make sure the element has loaded before you try tomanipulate it.Not all browsers have console.logstyle.camelCaseel.style.backgroundColor = ‘#00ff00’; SIT BACK / SIT BACK LISTEN UP LISTEN UP

25.
A LITTLETASK DUE17th FEB 2011(TOTALLY OPTIONAL)For next week’s lecture I want you to all have attempted to create an HTML page withan image.When you hover over the image, the image changes in some way.When you move your mouse away it goes back to how it was. SIT BACK / SIT BACK LISTEN UP LISTEN UPYou may choose how the image changes