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.
- Solution URL: URL shortening API landing page (React + SASS) | Frontend Mentor
- Live Site URL: https://url-shortening-api-landing-page-hdez.vercel.app/
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
form
is submitted if:- The
input
field is empty
- The
- React
- React Hooks (useState, useEffect)
- React Hook Form
- React Toastify
- SASS Modules
- Axios
- Dotenv
- Vite
- Semantic HTML5 markup
- Flex Layout
- SASS - Sass modules
- React Hook Form: UseForm
- React Toastify: ToastContainer
- React documentation
- Forwarding Refs in React
- A11Y 101: Ensure landmarks are unique
- Frontend Mentor - @melvinaguilar
This project uses yarn. If you do not have yarn, checkout installation steps here.
yarn install
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Once that is completed, you should be able to run the project:
yarn start
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.