DEV Community

loading...

I made a basic search-bar using JS

Abhii
404 bio found!
Updated on ・1 min read

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
  • onKeyUp
  • forEach method
  • DOM Manipulation

You can see the live demo here

The Code

Github Repo

Feel free to fork or clone the repo.

Thank you!

Discussion (0)