Frontend Mentor - Shortly URL Shortening API Challenge Solution
This is a solution to the Shortly URL shortening API Challenge challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Table of Contents
:sunrise: Project Overview
Challenge Requirements
- 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
form
is submitted if:
Status
Features
Accessibility
Preview (Desktop)
:stars: Tech Stack and Approach
Built With
- HTML5 – Semantic structure
- Svelte – Fine-grained reactivity state management
- TailwindCSS – Utility-first CSS for fast development
- TypeScript - Interactivity and application logic
- Vite - Fast development server, production build and easy configuration
Approach
:leaves: Local Development
Prerequisites
Install the following:
- Git (latest version)
- Node.js (latest LTS recommended)
- pnpm (latest version)
Setup
git clone https://github.com/haquanq-frontendmentor/url-shortening-api-landing-page.git
cd url-shortening-api-landing-page
pnpm install
Start Development Server
pnpm dev
:maple_leaf: Deployment
Deployed to Github Pages via Github Actions (manually triggered).