Design comparison
Solution retrospective
Hello Everyone, Welcome to my space tourism website. To sum up the website works fine but there are a few issues. Firstly, backdrop filter did not work neither on chrome nor on fire fox that's the reason navbar is different Secondly, When I refresh the page in all pages except home the browser returns 404 . These are all issues that I've found feel free to give feedback as it's always nice to now your drawbacks. Happy Coding 🔥 🔥 🔥
Community feedback
- @rrcaddickPosted over 2 years ago
The solution to your 404 issue is to add a _redirects file to your public folder. Inside you can add the following code:
/* /index.html 200
Because react is an SPA, all pages are served from index.html, so this tells the server to redirect any page request to index.html, so that react-router can handle which page to display.
Well done on completing the challenge! Loved your rotations on the moons and planets!
Marked as helpful0@Ramz001Posted over 2 years ago@rrcaddick
Thanks for feedback but _redirects did not work out0
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