@AlekseiBestuzhev
Posted
Hello.
When you open a country-specific page in border countries, you have languages in their native script. There should be countries in the form of buttons that send to the country page.
Also, I would advise you to send requests to the server. Or if you still want to receive data from a file, then I would move the loader function to the utils folder. I would also change
if (filter !== null && filter !== "") {...}
to
if (filter) {...}
And don't forget to handle the missing fields. Like the capital of Antarctica. Good luck!
Marked as helpful