JavaScript Search

Treehouse on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerDesign Engineering10 min

About this video

A walkthrough of adding a search feature with vanilla JavaScript that filters a list of authors, followed by card animations built with CSS and JavaScript. It suits people with some basic JavaScript who want to build interactive search into a website.

What you’ll learn

  • Add a search input that filters a list of authors with vanilla JavaScript
  • Use forEach and a conditional to show matching items
  • Animate result cards with CSS and JavaScript