scrimba
Frontend Career Path
Working with APIs
Async JS
Context: method chaining
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

AboutCommentsNotes
Context: method chaining
Expand for more info
index.js
run
preview
console
/**
* Challenge: method chaining!
*
* 1. Select the button in the DOM and add an event listener to it without saving the DOM element as a separate variable. I.e. "chain" the `addEventListener` on after your `getElementById()`(When clicked, log "Clicked" to the console)
* - I realize this might feel like busywork, but my intent will make sense soon
*
* 2. Upcoming...
*/

Console
/index.html
-7:07