worked on logic and css for search functionality