1) I do know how the web works. I'm an electrical engineer.
...
... I've been writing html and css code for about 30 years. I upload it to a website using FileZilla.
... ... Electronics, Music (fundamentals include some math), 3D Printing, Cochlear Implants, etc.
... I've learned WordPress for creating websites.
---
2) Every JavaScript code example I've analyzed, uses html with JavaScript.
...
... Can JavaScript files run "without" an html file?
... If so, what is required?
---
3) The
YouTube tutorial ---
"Three.js Tutorial For Absolute Beginners", does use npm. What I've learned:
...
... npm init -y
[install a bundler]
... npm install parcel --save-dev
[takes a while]
[I create an index.html file]
[install threejs]
... npm install three
[I create a script.js file]
... npx parcel src/index.html
[provides a local link ... an example ->
Server running at
http://localhost:1234/ (link via Chrome)]
[ctrl+C regains Terminal control]
... npm install dat.gui
[when I exit VS Code, and restart, I enter the npx again]
... npx parcel src/index.html
...
... I learned this in a short amount of time (clear, concise words in the tutorial). It works!
... This tutorial does use an html file.
---
4) I learn fastest with example code, and with YouTube video clips.
...
... As I'm retired, I would create Blockly YouTube video clips for new users, after I understand the basics.
---
...
... Maze 1 is basic and simple.
... ... A minimum toolbox with renamed tools.
... ... Three images on the screen simultaneously.
... ... The commands from the toolbox items are transmitted to the car.
... The downside is the additional mazes, which complicates the code.
... Does this game require an html? If it does, where do I find it?
---
Thanks!
~~~~~~~~~~~~~~~~~~~~~~~~~~