This is the demo for #JavaScript30(30 days vanilla JS cording challenge) by Wes Bos.
Build 30 app with JavaScript.
I create with
- webpack
- Sass
- Babel
- Sounds are played on the keyboard pressdown
- Sound based on the
data-
(custom data attributes) set in each keys - Uses
keydown
event
- Real-time Clock in Digital and Analog
- Get a moment time uses
new Date()
,getSeconds()
,getMinutes()
,getHours()
- Analog clock hands moved by CSS
transfrom: rotate()
- Change the value of a slider control with
input
oftype="range"
- How to use
filter()
map()
sort()
reduce()
- On mouse over to expand the box and show the text
- Uses
mouseenter
mouseleave
transitioned
- Suggested City Names by type some text
- City Names get from api(json data) by using
fetch()
- Find matche City Name by text inputted using
filter()
match()
- How to use
some()
every()
find()
findIndex
splice()
slice()
- Draw on display created with
canvas
- Uses
console
method
- Video Handler of play or stop, change progress, skip
- Uses
play()
pause()
- Key pushed to array on each keyboard pressdown
- Show message if array contains secret code
- Uses
keyup
- Image fade in when window scroll in specified position
- Uses
window.scrollY
- What difference between Reference and Copy Variables
- Uses
slice()
concat()
...
(spread)Object.assign
- Input text saved to Local Storage
- Uses
localStorage.setItem()
localStorage.getItem()
- Shadow move according to moving the mouse
- Uses
sort()
- Uses
replace()
trim()
join()
- Uses
reduce()
- Uses
MediaDevices.getUserMedia()()
- Uses canvas
- Uses
SpeechRecognition()
interimResults
- Compass can be used in mobile devise
- Uses
geolocation.watchPosition()
- Highlighter following the moving mouse
- Uses
getBoundingClientRect()
- Uses
SpeechSynthesisUtterance()
getVoices()
speak()
- Navigation fixed at position top of window when window scrolled
- Uses
offsetTop
offsetHeight
- Uses
event.stopPropagation()
capture
- Show sub menu with animation when mouse over item
- Uses
getBoundingClientRect()
- Uses
mouseenter
mouseleave
- Slider can be moved drag and drop
- Uses
mousedown
mouseleave
mouseup
mousemove
- Uses
offsetLeft
scrollLeft
pageX
- Uses
video.playbackRate
- Countdown timer and show the end time
- Uses
Date.now()
new Date()
- Uses
setInterval()
clearInterval()
- Game of Whack-A-Mole
- Uses
Math.random()
- Uses
setTimeout()
JavaScript30 https://javascript30.com/