Skip to content
4thex edited this page Oct 16, 2014 · 61 revisions

JavaScript

What is it?

JavaScript is a programming language. Even though the name contains Java, it has little to do with this programming language.

Why should I care?

JavaScript is the programming language of a Chrome Application. It is JavaScript that is executed when we use the mouse or the keyboard to interact with our application.

Loading from an HTML5 page

A JavaScript file is loaded from an HTML5 page using the script element.

<html>
  <head>
    <script type="text/javascript" src="background.js">Your browser does not support JavaScript</script>
  </head>
  <body>
  </body>
</html>

The type attribute indicate the type of script. It is necessary to specify this because browsers support other script languages. Internet Explorer for example has its own types; JScript, and VBScript.

Where can I find more information?

Introduction
[Install CDE](Install CDE)

Part 1 - The basics

HTML5
CSS
JavaScript
DOM

Part 2 - Projects

[A Ringing Bell](A Ringing Bell)
[Projectile Movement](Projectile Movement)
[Map with location](Map with location)
[Slide 15 Puzzle](Slide 15 Puzzle)
[A Running Man](A Running Man)
Sudoku

Part 3 - Getting it out there

[Package Chrome Application](Package Chrome Application)
[Uploading Your Application](Uploading Your Application)

Clone this wiki locally