Today we started working on learning the basics of Javascript with the DOM:
document.getElementById
- returns one HTMLElement
document.getElementsByClass
- returns a collection of HTMLElement
HTMLElement.innerHTML
- get or set text of an HTML ElementHTMLElement.onclick
- set this to a function and that function will run whenever a user clicks on that elementgit clone
hub create <repo_name>
- Creates a repo on Github for youhub remote add <remote_name>
- Adds a remote to your local repo and names it based on a repo for your Github user and then the current folder name.Today in lab we looked at making a calculator using the tools we have.
Commit the work we did in class. Catch up on your outstanding homework.