Design comparison
Solution retrospective
Couln't make a request to the API so I have not implemented that part, I always get: Access to fetch at from origin 'http://localhost:3000' has been blocked by CORS policy.
Help are appreciated.
Community feedback
- @sklehtiPosted 10 months ago
Hi Mark,
You can override CORS restrictions by creating a server and making a request through it. The browser makes a request to your server, and then your server makes a request to the destination server. I got the clean uri API command to work this way. Also, change the headers content to "Content-Type": "application/x-www-form-urlencoded".
Another option is to use some other platform. For example Bitly.
Over all it was a great looking site!
I hope this helps you!
-sklehti
Marked as helpful1
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