A responsive URL shortening landing page built with React, TypeScript, and Tailwind CSS. Users can shorten links, copy them instantly, and persist their shortened URLs across page reloads.
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- Shorten any valid URL
- See a list of their shortened links, even after refreshing the browser
- Copy the shortened link to their clipboard in a single click
- Receive an error message when the
formis submitted if:- The
inputfield is empty
- The

- Responsive UI built with Tailwind CSS
- Dynamic URL shortening with Axios + external API
- Copy-to-clipboard functionality via react-copy-to-clipboard
- Persistent shortened URLs using local storage
- Form validation and error handling
- React 18 – For building dynamic UI components
- TypeScript – Type-safe JavaScript for reliable code
- Tailwind CSS 4 – Utility-first styling for responsive design
- Vite – Lightning-fast development and build tool
- Axios – API calls and HTTP requests
- react-copy-to-clipboard – One-click URL copy functionality
- React Icons – Lightweight icons for UI
{
"@tailwindcss/vite": "^4.1.16",
"@types/react-copy-to-clipboard": "^5.0.7",
"axios": "^1.13.4",
"react": "^18.2.0",
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "^18.2.0",
"react-icons": "^5.5.0",
"tailwindcss": "^4.1.16"
}- Managing state in React for dynamic lists
- Implementing local storage for data persistence
- Building mobile-first responsive layouts
Future improvements:
- User authentication to save links across devices
- Link analytics (click counts, trends)
- Improved accessibility and keyboard navigation
- Animations for smoother user experience
- React Documentation – Official React guides and best practices
- Tailwind CSS Docs – For responsive layouts and utilities
- Axios Docs – For API requests and handling responses
- React Copy to Clipboard – Seamless copy functionality
- Name: Uhegbu Ogechi Juliet (OGE)
- Website: https://ogechiuhegbu.vercel.app/
- Frontend Mentor: @geliettech
- X: @geliettech
- Frontend Mentor – For providing the challenge and supporting practical frontend skill development
- Tailwind CSS Docs & React Docs – For guidance on responsive design and state management