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

Countries API solution using ReactJS Tailwindcss

@sagarkaurav

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

Solution retrospective


Feedback appreciated

Community feedback

Sapinder 565

@sapinder-pal

Posted

You did a nice job @sagarkaurav! One thing I would want you to know is that you have to keep in mind the users who set third-party cookies to block, and so do I. This is why my browser prevents frontendmentor from previewing your solution (the original url should work but on this site, it's considered third-party). In my previous challenge, I also encountered the same. So I applied a try and catch block in necessary places. You should also consider this. I had to turn off the third-party cookies to view your page :)

1

@sagarkaurav

Posted

@sapinder-pal Thanks for letting me know that localStorage is blocked because the page is loaded by frontendmentor.io. I have made changes as you suggested. It should work now without enabling third-party cookies.

0
Sapinder 565

@sapinder-pal

Posted

@sagarkaurav It's working now. 🙂

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