- installing node, basics of javascript
- this document outlines the basics of javascript, variables, types, control flow
- the basics of javascript are extremely similar to ruby
- callbacks
- remember a callback function is a function passed into another function as an argument, which is then invoked inside the outer function to complete some kind of routine or action
arr.forEach(/* this is the start of callback*/function(element) {
console.log(element)
}/*this is the end of the callback*/)
- all of my callbacks notes
- then moved on to browser javascript
- using method calls like
querySelector
,addEventListener
,createElement
,classList.add
,classList.toggle
- linking js file to html
- experimenting with console
- browser javascript notes from the day
- great resource for looking at all the event listeners that exist
- todolist challenge, main new things introduced were
appendChild
and getting value from a forms inputinput.value