Design comparison
Solution retrospective
Instead of using Vanilla JS, I decided to use React for this challenge. This presented an opportunity to learn more about react states since the frontend elements had to be modified dynamically based on the response from the two APIs. It helped me improve my understanding of the useEffect() hook in React.
If I were to do this again, I will use Vue just so that I can experiment with these popular frameworks in JS and gain first hand experience on how to make better decisions when selecting a framework for a project.
What challenges did you encounter, and how did you overcome them?The immediate challenge was the map and image background with the information about the IP as as an overlay. I used absolute positioning for the foreground and a higher z index to tackle that.
What specific areas of your project would you like help with?I would be very interested in learning from more seasoned devs about how they would sanitize the input from the IP/domain input field. I would also like to discuss ideas related to handling errors from the API requests.
Community feedback
- @JudenetworkPosted 15 days ago
Good project.. Keep it up. I want a situation whereby after locating the place, there should be a button to take pictures of the person and surroundings which can be saved to the system
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