Introducing JavaScript

Let’s Talk About

A Book That You May Be Interested In

Check out Eloquent JavaScript if you’d like to follow along with a book.→

Does anyone know what JavaScript is?

JavaScript

Some History

Originally created in 1995 as a way to add interactivity (through programming) to web pages in Netscape Navigator!

Where is it Now?

JavaScript is now a widely used programming language!

As Seen On…

Here are some particularly awesome uses of JavaScript:

* (we’re going to start off small, though)

It’s a High Level Language

As compared to a low level language what does being a high level programming language mean?

It’s Available!

(And Again) JavaScript is not Java!

And We’re Doing This Because?

Why are we learning JavaScript?

So, Let’s Write Some JavaScript

Our workflow:

Clarification: Let’s Write Some JavaScript for the Browser

Our Tools

Again, we’ll be using the following:

A Few Steps

Our workflow for creating a JavaScript program will be:

A Quick Example

Let’s check out a short JavaScript program. Begin by…

<!DOCTYPE html>
<html>
<body>
</body>
</html>

A Quick Example Continued

Add some script tags.

<!DOCTYPE html>
<html>
<body>
<script>
Your code will go here! 
</script>
</body>
</html>

A Quick Example Continued Some More

What does this (super simple) program do?

<!DOCTYPE html>
<html>
<body>
<script>
alert("Let's learn some Javascript");
</script>
</body>
</html>

That was fun, let’s go back to some version control