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.
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 address and see the key information and location ✅
note: turn off adblocker if page doesn't load.
- Solution URL
- Live Site URL
- CSS custom properties
- Desktop-first workflow
- React - JS library
- ipify API - geolocation API
- LeafletJS - library for maps
- react-leaflet - React components for LeafletJs
- gh-pages - package to deploy app to GitHub Pages
- "React Leaflet Basics pt. 1", YouTube - This video was a good starting off point for getting react-leaflet to work.
- GitHub - @valleyman89
- Frontend Mentor - @valleyman89
- Twitter - @steven_rolph
Thanks to StackOverflow user ptay for their RegEx pattern for determining an IP address - stackoverflow.com