Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Rest Countries API

Kofi Akyea 150

@Takeda-harsh

Desktop design screenshot for the REST Countries API with color theme switcher coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
4advanced
View challenge

Design comparison


SolutionDesign

Community feedback

@Naren-ReactDev

Posted

Nice one, good design.

Noticed a small thing, languages, currencies and toplevel domain are not displaying in the country details page. For languges and currencies you can use below kind of code:

const list=languages?.map((obj)=>{ return obj.name; })

console.log(list.join(", " ))

and for top level domain you should use "topLevelDomain": [".af"], not tld. anyway very nice work.

Thanks Naren

0

Kofi Akyea 150

@Takeda-harsh

Posted

@Naren-ReactDev Thank you so much! I'll look into it.

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord