Design comparison
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
- @rfilenkoPosted about 4 years ago
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@dinakontoPosted about 4 years ago@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 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