Frontend Mentor - IP address tracker solution

This is a solution to the IP address tracker challenge on Frontend Mentor.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

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

Add a screenshot of your solution. The easiest way to do this is to use Firefox to view your project, right-click the page and select "Take a Screenshot". You can choose either a full-height screenshot or a cropped one based on how long the page is. If it's very long, it might be best to crop it.

Alternatively, you can use a tool like FireShot to take the screenshot. FireShot has a free option, so you don't need to purchase it.

Then crop/optimize/edit your image however you like, add it to your project, and update the file path in the image above.

Note: Delete this note and the paragraphs above when you add your screenshot. If you prefer not to add a screenshot, feel free to remove this entire section.

Links

Built with

  • React LEAFLET
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • React - JS library
  • TailwindCSS - CSS framework - Rapidly build modern websites without ever leaving your HTML.

What I learned

A new concept that i learned from this challenge is the React Leaflet and how maps works Also i practiced my TailwindCss knowledge to make my buildings totally responsive .

<h1>React Leaflet</h1>
.proud-of-this-css {
  color: papayawhip;
}
const proudOfThisFunc = () => {
  console.log("🎉🎉🎉");
};

Useful resources

  • Example resource 1 - This helped me for creating the map and some animation while moving to the user's input ip Address. I really liked this pattern and will use it going forward.

Author