Day 1 of 100DaysOfCode
Today I learned about the basic stuff like arrow function, some javascript methods, and events like key-down, play(), transitionend, currentTime let's talk about those in brief below
keycode:
The keycode is basically consecutive numbers assigned to all alphanumeric and function keys. for example "Enter key" has value "13".
Here is a link for the example for Keycode.
Play():
The play method is used to playback the media, it returns the audio file when it is fired.
Transitionend:
The Transitionend event is fired when a CSS transition ends or is completed.
CurrentTime:
The currenttime property specifies the current playback time in seconds.
Arrow function:
The arrow function is a consecutive way of writing javascript functions in a shorter way, they make our code structure more readable, and it is also anonymous function( without name). for example
Other stuff:
Apart from that I also read a self-help book "The Power of Habit" Today I learned that creating habits also leaves an impact on the brain, it makes the brain grow certain patterns.
For more information check out MDN docs, they have a lot of valuable stuff.