Skip to content

Latest commit

 

History

History
58 lines (38 loc) · 1.92 KB

README.md

File metadata and controls

58 lines (38 loc) · 1.92 KB

Introduction to Javascript

###Python-To-Javascript Dictionary###

Some reference material to help you compare Python and JavaScript.

Conditionals in Javascript
Loops in Javascript
Data Structures in Javascript
Functions in Javascript

Running your code

You can work on these exercises in one of two different ways:

In an HTML Page

You can create a basic HTML page with a Javascript section, and do your coding in there. This could look like:

<!DOCTYPE html>
<html>
<head>
  <title>Javascript Learning</title>
</head>
<body>
  <h1>Javascript Learning</h1>
  <script>
    // Code goes here
  </script>
</body>
</html>

(If you do this, you'll need to show the Javascript console to see what you print to it—you can do that in Chrome with the View/Developer menu.)

In an online Javascript editor/runner

You can do your coding and testing using http://repl.it/languages/JavaScript.

###Exercises###

Please stop and get a code review after EACH exercise.

Javascript Ex01 - Sum of multiples of 3 and 5 under 1000

Javascript Ex02 - Sum of even-termed Fibonacci numbers

Javascript Ex03 - Duplicates

Javascript Ex04 - Your Command-line Pal That's Fun To Be With

Javascript Ex05 - Final Test for the JavaScript Folks