I created a basic search bar using JS and here is how it looks.
So, whenever a
keyup occurs inside the search box, our function searches for the item in our list.
Things you should know
- Basic JS
- forEach method
- DOM Manipulation
You can see the live demo here
Feel free to fork or clone the repo.