Description
Drum kit
play sounds on click (or tap)
Clock
continuously add up degrees, instead of resetting at 00
CSS variables
Array Cardio 1
add link to wikipedia, and instructions on what code to run there
Show code on the page
Flex panel gallery
when you click to open a panel, close all others
AJAX type ahead
sort by cities closest to me (geolocation)
figure out another solution without using innerHTML()
use a different endpoint with constantly updated data
Array Cardio 2
Show code on the page
Fun with HTML5 Canvas
Add controls to change color, size, etc manually
Dev tools and tricks
Show code on page
Hold shift to check multiple checkboxes
Custom HTML5 video player
Toggle play on spacebar (not just click)
Show distinction between volume and playback bars (icons on button?)
Start progress bar at zero, along with video time on page load
Use input event, instead of both change and mouseover
Add full screen button and functionality
Key sequence detection
Find a different library that doesn't set cookies, and is not unicorns/rainbows
Slide in images with scroll
Reference vs copy
localStorage and event delegation
Re-render only the elements you want to toggle, not the entire list
Buttons to delete all items, check all items, or uncheck all items
Mouse move shadow
Add CSS blur effects to blend colors together as shadows overlap
Sorting Band Names without articles
Tally String Times with Reduce
Webcam fun 🐛
Create color filters for G and B (like redEffect)
Allow user to slide the amount of colors they want filtered in the image
Add buttons to select whether to use color filters, RGB split, or green screen
Tinker with green screen some with the sliders -- get true RBG items to be filtered out
Native speech recognition
"What's the weather today?" -- and use some weather API and current location
"Search for ..." and bring up search results
Are there plugins to increase the confidence of the results?
Unbind the event listeners when you're no longer focused on that window/tab -- make this an option
Geolocation 🐛 - proof of concept using this newer API
Follow along links
Speech synthesis 🐛
Depending on the speech synthesis engine used, the min/max values may be constrained
Find out why rate > 2.0 does not work at all (no speaking)
Find out why pitch set to 0 works as if it's set to 1
Sticky nav
Event capture, propagation, bubbling, and once
Follow along nav
Add CSS transitions/animations to fade dropdowns in/out, like Stripe
Click and drag
Create another demo for drag-and-drop of elements.
Video speed controller
Display the speed somewhere other than inside the rate percentage (gets hidden on small amounts)
Change the minimum to 0.51, and display the rate as toFixed(1)
Call return if percentage is under 0.51 - stop moving the slider
Click or drag the speed, instead of mousing over
Apply this idea to the HTML5 video player demo
Countdown clock
Separate hours from countdown => HH:MM:SS
?minutes=X query string -- either remove it, OR wire it up to start timer if bookmarked
Play audio when timer stops
Send desktop notification when timer stops
Whack-a-mole game
All-time score board -- use Firebase or localStorage
Levels of difficulty
Touch events, not just click
Prevent additional clicks on the same mole (while it's up) from adding to score 🐛
Reactions are currently unavailable
You can’t perform that action at this time.
innerHTML()inputevent, instead of bothchangeandmouseoverlocalStorageand event delegationredEffect)rate > 2.0does not work at all (no speaking)pitchset to0works as if it's set to1toFixed(1)returnif percentage is under 0.51 - stop moving the sliderHH:MM:SS?minutes=Xquery string -- either remove it, OR wire it up to start timer if bookmarkedlocalStorage