- https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide
Reference: https://nodejs.org/api/cli.html
mkdir code
cd code
git clone https://github.com/GA-Apprentice-Workshop/workshops.git
Common elements of webpages:
- Navigation
- Search form
- Login/registration form
- Gallery (https://www.w3schools.com/howto/howto_js_lightbox.asp)
- List of links
Common operations:
document.querySelectorAll()
document.getElementById()
element.innerHTML
element.className
element.style.display
References:
- Go to workshop folder
- Open Sublime
- Create 1 file: practice.html