Design comparison
Solution retrospective
HI everyone!
So i have two questions for more experienced people out there:
I learned that i can't really hide my api key while having it in the code on the client side. I've heard that you can do that to some extent while using frameworks like react. So my qustion is:
-
Should I use frameworks instead of vanilla js if want to go deeper into learning about API's? Is React better for building API apps?
-
off-topic: I've noticed that all designs that i've worked through don't include landscape view on mobile. Is there a particular reason for that? I try to always include them anyway, but that seems a little bit weird to me.
Thank you for checking out my solution and have a wonderful day! Take care
Community feedback
- @UrbanskiDevPosted about 2 years ago
Hello Kamil !
Congratulation for finishing this project
I'll try my best to answer your question !
For your first question, if you want to go deeper, it is recommended to start learning a framework, even if vanilla js can do the job. For building an API app, I would go with NodeJS, which is more adapted for developing an API !
Here's a link which can help you to understand why to use NodeJS for an API :
For your second question, it is just a supposition of mine, but a landscape view is pretty similar to a smaller desktop view, so by default, you are supposed to do it, even if you doesn't have a landscape view. I think it wouldn't change much between the different views and the landscape one !
Hope that's answer your questions !
Marked as helpful0@kamilp522Posted about 2 years ago@UrbanskiDev Thanks for your feedback!!
I'll certainly look more into node.js as I'll build my next API projects.
Have a great day!
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