DEV Community

Discussion on: My second vanilla JavaScript Project: using APIs, promises, classes, error handling, and more!

Collapse
 
colocodes profile image
Damian Demasi

I noticed that issue with the flag as well. I think that is happening because I'm searching for the first ocurrence of the country name, and that weird "British occupied India" is comming up first. If I have time, I'll fix this in the future.

Thanks for the feedback! 😅

Collapse
 
dannyengelman profile image
Danny Engelman

Maybe use a native web component for flags, flagmeister.github.io