Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

IP address tracker using jQuery, first-time API use

Dina 460

@dinakonto

Desktop design screenshot for the IP Address Tracker coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


This was my first time consuming an API, so I'm wide open for suggestions on how I could improve! Biggest question at this stage is how I'd go about making the call secure, e.g. best way to send API key?

Community feedback

Roman Filenko 3,335

@rfilenko

Posted

Hey Dina, would suggest you to look into modern js, jQuery is a bit outdated. Invest you time and learn basics of js (at least es6). As for your questions - check parcel bundler, really easy, no-config solution to bundle modern app. This way you can use nmp modules - like dotenv for storing sensible information as secret variables inside .env.local file (this way have access to those vars, but in production that information will be not visible). 😉

Cheers, Roman

1

Dina 460

@dinakonto

Posted

@rfilenko Hey Roman, thanks for the advice! I do have basic js knowledge but didn't know it was now considered a better option than jQuery - I'll do some reading and make the switch next project. Will also check out parcel bundler - Cheers!

0

Please log in to post a comment

Log in with GitHub
Discord logo

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