Solution for a challenge from frontendmentor.io
In this challenge, I will be using two separate APIs together to create an IP Address Tracking app. The main challenge is to build out this IP Address Tracker app and get it looking as close to the design as possible. To get the IP Address locations, I will be using the IP Geolocation API by IPify. So if you've got something you'd like to practice, feel free to give it a go.
Users should be able to:
- View the optimal layout depending on their device's screen size.
- See hover states for all interactive elements on the page.
- See their own IP Address on the map on the initial page load.
- Search for any IP addresses or domains and see the key information and location.
I do not have access to the Figma sketch so the design is not pixel perfect.
- Semantic HTML5 markup
- CSS custom properties
- Flex
- Mobile-first workflow
- Free IP Geo Location
- Leaflet (map API)
This is my very first project on Frontend Mentor using API. I decided to spend more time on it from now on. I already have a project using API which was my very first experience, you can check it here I decided not to spend too much time and effort on the design as my main goal here is practicing API.
For some reason the limit of 1000 requests has ended very fast. Possible my API key isn't hidden well enough, I am not sure and didn't test it much. The limit doesn't seem to be available once it's used up and this project is not worth any financial investment right now. I changed to another API and hoping that it will work however it does lack some information like ISP, for example. For now I decided to leave this way. The new API I used is provided down below. For some reason the gitignore is havin'g issues so I decided to keep the API key visible on purpose.
- Figma - Paste your design image to check the size of containers, width, etc.
- Perfect Pixel - Awesome Chrome extension that helps you to match the pixels of the provided design.
- Leaflet - an open-source JavaScript library for mobile-friendly interactive maps
- Free IP Geo Location - provides a free IP gelocation API for software developers I am currently using. This is a temporary replacement
A big thank you to anyone providing feedback on my solution. It definitely helps to find new ways to code and find easier solutions!