IP tracker - my solution

Solution retrospective
How to write better js and sass code? Why my deployed app doesn't work correctly?
Please log in to post a comment
Log in with GitHubCommunity feedback
- @chri55
Hi Tomy,
If you look in your developer tools console after searching an IP, you may see an error which says "Mixed Content": your
fetch
call is getting data overhttp
, but the app itself is being served onhttps
through Vercel. Change your URL in thefetch
call to usehttps
and it should at least be able to make the call to the API once deployed.
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