Skip to content

This project is a solution to the IP address tracker challenge on Frontend Mentor. The goal of the challenge is to create a responsive web application that allows users to view their own IP address on a map and search for information about other IP addresses or domains.

Notifications You must be signed in to change notification settings

VINAYAK9669/IP-ADDRESS-TRACKER

Repository files navigation

IP Address Tracker

Overview

This project is a solution to the IP address tracker challenge on Frontend Mentor. The goal of the challenge is to create a responsive web application that allows users to view their own IP address on a map and search for information about other IP addresses or domains.

Features

  • View the optimal layout for each page based on the device's screen size.
  • Hover states for all interactive elements on the page.
  • Display the user's own IP address on the map during the initial page load.
  • Search for any IP addresses or domains and view key information and location.

Demo

Built with

  • React-vite - JavaScript library for building user interfaces.
  • Tailwind CSS - A utility-first CSS framework.
  • Leaflet - An open-source JavaScript library for interactive maps.

External Free Sources

  1. Ipify Geolocation API - Used to track user IP address and location.
  2. Leaflet library - Integrated for map functionality.

Challenges Faced

  1. Leaflet Library Integration: Integrating the Leaflet library posed challenges during deployment. Multiple resources, including official documentation, blogs, and YouTube tutorials, were referenced to overcome these hurdles.

  2. Error Handling for Map: Handling scenarios where the location data is not available and preventing map errors required careful consideration. Implementing robust error handling for both components was a challenge.

  3. API Key Security: Protecting the API key was a concern. The solution involved referencing documentation to securely store the API key using a .env file.

ScreenShots

About

This project is a solution to the IP address tracker challenge on Frontend Mentor. The goal of the challenge is to create a responsive web application that allows users to view their own IP address on a map and search for information about other IP addresses or domains.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published