Submitted over 3 years ago
ReactJS site using CSS Grid and Flexbox for responsive layout
@brGuirra
Design comparison
SolutionDesign
Solution retrospective
I would appreciate any feedback of the code. It was my first project after studying React π
Community feedback
- @RocTanweerPosted over 3 years ago
Hello π
Can I make this with just vanilla javascript?
I am just facing problem with url handling...
- I will make ajax call right when a user visits and display all the countries
- When user clicks on any card, then I can change the url and make another ajax call and display the details of that country by changing the content of the homepage
- User can also come back to home page by clicking on either back button of app or browser
- But If user shares a modified url to someone else and that person paste it in his browser then he will get error, right?
My question is how you managed it? Since it is an SPA, you can't have multiple page and thus user can't make a request on any page other than the homepage
Please help....π
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