Giter VIP home page Giter VIP logo

jshero's Introduction

JS Hero

JS Hero: JavaScript tutorial with exersices/koans.

Website: https://www.jshero.net

Static websites: run locally (limited) or on any web server (recommended).
Locally only in browsers that support locally local storage (Firefix, not Chrome, ...).

Folder

www: The built project
src: Sources to build the project
build: Build scripts
test: Unit tests

Deploy

Copy the content of the folder www in a web server (e.g. apache).

Local use

Open www/index.html in a browser. Works limited.

Build

Requirement: node.js

After changes JS Hero has to be rebuilt with npm. package.json together with build.js and build.sh defines the necessary steps and modules.

Use npm install to install the modules once. Use npm run build to (re)build the project.

npm run build depends (unfortunately) on the operating system. It only runs with a Linux shell. Use Git Bash or WSL on windows.

Add a new koan

  1. Copy an existing koan and modify it.
  2. Insert the id of the new koan in the file order-de.js or order-en.js at the desired position.
  3. Execute npm run build in a linux shell.
  4. Refresh your browser

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.