scrimba
JavaScript Challenges
Build a Search Bar: Capturing the user's search query
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Build a Search Bar: Capturing the user's search query
AboutCommentsNotes
Build a Search Bar: Capturing the user's search query
Expand for more info
index.js
run
preview
console
/*
Task: Capture the user's search query
1. Add an event listener for 'keyup'
2. Capture the event in a 'let' called 'searchQuery' - storing the value
3. Make sure the captured value is lowercase
4. Log to the console to demonstrate it works
*/
Console
/index.html
-2:32