This project lets you search for country data on a webpage and view the matching results in an easy-to-read table. You don’t need to know how to code to use this—just follow the instructions below!
- Finds Country Data: Enter country names, and the tool will search the table on the page for matching information.
- Sorts the Results: You can sort the results in different ways (alphabetically, or by how they appear on the page).
- Copies Data Easily: Just click on any value in the table to copy it to your clipboard!
- Go to a website that has a table of country-related data.
- Press F12 on your keyboard to open the browser’s Developer Tools (or Right-click on the page and choose "Inspect").
- In the Developer Tools, select the "Console" tab.
- Copy the full code from this repository.
- Paste it into the Console in your browser and press Enter.
- After running the code, you’ll see a search bar appear at the top of the page.
- Enter country names (separated by commas) like this:
Germany, United States, Mexico
Then click "Search".
- The table will show the matching results.
- Click on any value to copy it!
- Open a website with a table of countries.
- Open the Console (F12 > Console tab).
- Paste the code and press Enter.
- Enter: Japan, France, Italy
Then click "Search" to see the results.
That’s it! 🎉 You can now search country-specific data quickly and easily.
- If you leave the input field empty and click "Search", the tool will use the default list of countries (if any).
- The table highlights the matching countries for better visibility.
Enjoy exploring the data!