Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript: A Step-by-Step Tutorial by Example

A structured JavaScript primer of around 27 short, worked examples that build up the core of the language one concept at a time. Intended as a self-contained, example-driven introduction for readers coming to JavaScript for scientific or web programming.

Topics covered

  • Output (`document.write`), alerts, prompts and confirms
  • Variables, operators and logical operators
  • Conditional statements and `switch`
  • Loops
  • Functions, function expressions and `return`
  • Recursion
  • Code style and conventions

Technologies

HTML and JavaScript (with a few external `.js` files).

Usage

Open any `JS_*.html` file in a web browser and use the developer console to follow along. The examples run client-side with no dependencies.

Author

Polina Lemenkova
ORCID: https://orcid.org/0000-0002-5759-1089

License

Released under the MIT License (see LICENSE).

Reuse

These materials were written as programming exercises and are shared as open, self-contained teaching examples. If they are useful in your own teaching or research, a link back to this repository and to the author's ORCID is appreciated.

About

A structured JavaScript primer of some 27 worked examples covering variables, operators, control flow, loops, switch statements, functions, functional expressions, recursion and code style. A self-contained, example-driven introduction to the language (HTML + JavaScript).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages