js 0-100 crash course
look at plan.md
for the order I planned to do stuff in... didn't go to plan (no pun intended) but still the best order to learn stuff in my opinion
- install NodeJS (kinda like the 'python' program)
- git clone this repo
- open a terminal (I use gitbash on Windows, but any will work) and cd to wherever you downloaded the repo
- type in
npm install
to install the required JS libraries - type in
node server.js
to start up the localhost server. - type this into your browser
localhost:3000/
- open up
index.js
in some text editor or IDE (I use VSCode)
index.js
has a bunch of 'modules' that show off differnt parts of JS. They are named pretty well so find the topic your are interested in and open up that JS file exvar.js
- Uncomment that module (by removing the two
//
in front) inindex.js
and comment out the rest (make sure every otherimport {} from ..
has a//
infront of it). - refresh your browser page (the
localhost:3000/
webpage) - click F12 or right click anywhere on the browser and click
inspect...
- navigate to the
console tab
in the newly opened 'dev tools' sidebar. - you should see the
console.log(...)
calls seen in the uncommented module.