Skip to content

franclobo/ip-address-tracker

Repository files navigation

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

image

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow
  • React - JS library
  • Next.js - React framework
  • Redux Toolkit - For state management
  • TailwindCSS - For styles

What I learned

I have to use dynamic imports to load the map component only when the user clicks the search button. This way, I can reduce the initial load time of the page.

import dynamic from 'next/dynamic';

const MapaComponent = dynamic(() => import('./_components/Mapa'), { ssr: false });

Continued development

I will continue to develop this project by adding more features and improving the user experience.

Useful resources

Author

Acknowledgments

I would like to thank Frontend Mentor for providing me with this challenge and everyone who helped me with this project.