Michaelajayi150 / IP-Address-Tracker

Frontend Mentor Challenge - A web app that tracks inputted IP address and domains

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

A desktop view of how the web app looks like

Links

My process

Built with

Useful resources

  • JS Fiddle Snippet - This helped me for understanding how to change map location while using LeafletJS. I really liked this pattern and will use it going forward.

  • StackOverflow Discussion - I found this discussion while trying to fecth user location and ip address without a given access. I find this very useful as this worked out with what the challenge is about.

  • LeafletJS - For the mapping API, I recommend using it; It's free to use and doesn't require an API Key. If you decide to use another API, like Google Maps or Mapbox, be sure to secure your API Key. Here are guides for both Google Maps and Mapbox, be sure to read through them thoroughly:

  • API Key best practices from Google Developers

  • How to use Mapbox securely

Author

About

Frontend Mentor Challenge - A web app that tracks inputted IP address and domains


Languages

Language:Less 41.0%Language:HTML 36.3%Language:JavaScript 22.7%