/web-starter-vanilla

Web starter using Vanilla JavaScript & CSS for "Learn JavaScript"

Primary LanguageHTML

Web Starter Vanilla

Web starter using Vanilla JavaScript & CSS for learnjavascript.online

This boilerplate is provided at the end of the Learn JavaScript course.

Setup

First time

git clone https://github.com/jadjoubran/web-starter-vanilla.git
cd web-starter-vanilla
npm install

Then you can run the server

npm run serve

Browse to localhost:8080

Modules

This starter uses native browser modules with sctipt type="module".

You can import other files, as long as you the path is correct, starts with a ./ and ends with .js.
Note that you cannot import libraries installed with NPM as bare modules are not supported by browsers yet.