JavaScript30 – Day 19
In today’s lesson, I learned how to pipe webcam input and manipulate the stream on the fly. In comparison to the other lessons, this lesson required the use of npm. The final code can be found on Day 19 – Webcam Fun.
Resources:
- Array
.prototype .for Each() - Canvas
Rendering Context2D.draw Image() - Canvas
Rendering Context2D.get Image Data() - Canvas
Rendering Context2D.put Image Data() - Document
.create Element() - Document
.query Selector() - Document
.query SelectorAll() - Element
.inner HTML - Element
.set Attribute() - Event
Target .add Event Listener() - HTMLCanvas
Element .toDataURL() - HTMLVideo
Element - Media
Devices .get User Media() - Node
.insert Before()
JavaScript30 – Day 18
In today’s exercise, I learned how to fetch all video lengths from a site and calculate the total duration of all videos. The exercise was mainly based on the functions map() and ??reduce(). The final code can be found on Day 18 – Adding Up Times with Reduce.
Resources:
JavaScript30 – Day 17
Another day, another exercise. Today, how to sort arrays without while ignoring the articles of the corresponding title. The exercise required a combination of replacing, sorting and mapping and the final code can be found on Day 17 – Sort Without Articles.
Resources:
JavaScript30 – Day 16
In today’s exercise, I learned how to create a dynamic mouse shadow. As always, the final code can be found on Day 16 – Mouse Move Shadow.
Resources:
JavaScript30 – Day 15.5
Seems I was too focused on https://javascriptforwp.com/courses/bootcamp-jan-march-2019/ today. Just realized that I need to leave the hotel and won’t have time to take care of my daily exercises of https://javascript30.com today. Am I regretting this? Well, a bit. But I learned a lot about DOM handling today. And, on a side note, I got my VITAS in Singapore, which is the first step towards my KITAS and KITAP. Thus, it had been a successful and valuable day after all.
JavaScript30 – Day 15
Today’s lesson covered the secrets of using local storage. I learned how to create a small restaurant booking system, that stores the ordered dishes in the browser’s local storage. The final code can be found on Day 15 – LocalStorage.
Resources:
JavaScript30 – Day 14
In today’s lesson, I’ve learned the difference between copies and references or variables, arrays and objects. The final code can be found on 14 – JavaScript References VS Copying.
Resources:
JavaScript30 – Day 13
Another day, another lesson. Today, I’ve learned how to fade in and out images based on scroll interactions. The final code can be found on 13 – Slide in on Scroll.
Resources:
- TBD
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:
JavaScript30 – Day 11
In today’s exercise, I learned how to create a custom video player that allows basic control as well as adjusting the video speed and the volume. The final code of the exercise can be found on 11 – Custom Video Player.
Resources: