Submitted 10 months ago
REST countries API site made with Tailwind CSS and React JS
@ayushknath
Design comparison
SolutionDesign
Solution retrospective
I am using React router in this project but after deploying with Github pages, the site is not rendering. Please have a look in the code repo and help me to troubleshoot this.
Community feedback
- @ayushknathPosted 10 months ago
I tried updating the Route path to
/rest-countries-api
and now the site is working fine. Can anyone just take a look at the code and verify if the routing is correct because I've learnt react router recently and I need some feedback to improve upon potential bad practices. The routing has been done insrc/App.jsx
0
Please log in to post a comment
Log in with GitHubJoin 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