Frontend Mentor - IP address tracker solution

This is a solution to the IP address tracker challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for each page 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

Screenshot

Mobile screenshot of the application

Desktop screenshot of the application

Screenshots made with Simulateur téléphone mobile - test site responsive

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • React - JS library
  • React-Leaflet - React components for Leaflet maps
  • Tailwind Css - For styles

What I learned

  • I learned how to implement a leaflet map in a React application

Continued development

Use this section to outline areas that you want to continue focusing on in future projects. These could be concepts you're still not completely comfortable with or techniques you found useful that you want to refine and perfect.

Useful resources

  • Leaflet documentation - This has amazing examples to show how to customize the marker icon.
  • React example to changer marker icon - This helped me for the icon marker icon on the map. I used also the github code or the react-leaflet dependancy to see if the marker components as an icon prop.

Author