CLICK HERE https://victor4rthur.github.io/Search-and-Filter/
Usage Open the index.html file in a web browser.
Type the name of a city or state in Portugal in the search bar.
As you type, the application dynamically filters and displays matching cities.
The matching part of the city or state name is highlighted for easy identification.
Population details are displayed alongside the city and state names.
Code Overview The list of cities is fetched from a remote API using the Fetch API. The findMatches function filters the cities based on user input. The displayMatches function dynamically updates the UI with matching cities. The application is built using HTML, CSS, and JavaScript.