JavaScript30 – Day 12

In today’s exercise, I’ve learned how to trigger an action when a user provides a specific key sequence. A potential use would be by adding easter eggs to websites. As always, the final code can be found on Day 12 – Key Sequence Detection. References: EventTarget.addEventListener() Array.prototype.push() Array.prototype.splice() Array.prototype.join() Array.prototype.includes()

JavaScript30 – Day 7

Today, the second part of the array cardio took place. Wes thereby explained how to use the functions some(), every(), find(), index(), indexOf() and splice(). The final code can be found on Day 07 – Array Cardio Day 2. Resources: JS Every JS Find JS Find Index JS Some JS Splice