1 / 4

JavaScript An Introduction

JavaScript An Introduction. Web Design II Flat Rock Community Schools. What is JavaScript?. JavaScript is the programming language of the Web Modern browsers use JavaScript Including desktops, game consoles, tablets, and smart phones

kaiser
Download Presentation

JavaScript An Introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. JavaScriptAn Introduction Web Design II Flat Rock Community Schools

  2. What is JavaScript? • JavaScript is the programming language of the Web • Modern browsers use JavaScript • Including desktops, game consoles, tablets, and smart phones • JavaScript is part of the traid of technologies all Web-Developers must learn • HTML to specify the content of web pages • CSS to specify the presentation of web pages • JavaScript to specify the behavior of web pages • Note: Java & JavaScript are two very different languages.

  3. How do you add JavaScript to your website? • JavaScript code is embedded within HTML files using the <script> tag. <html> <head> <script src=“library.js></script> </head> <body> <p>This is a paragraph of HTML</p> <script> // And this is some client-side JavaScript code // Literally embedded into the HTML file </script> <p> Here is more HTML </p> </body> </html>

  4. More about JavaScript • JavaScript is a case-sensitive language • For Example: • online, Online, OnLine, and ONLINE are four distinct variable names • Comments: //This is a comment /* * This * way * too */ Let’s use this type of comment in Web Design II

More Related