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.
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
- Solution URL: https://www.frontendmentor.io/solutions/create-react-app-with-jsx-and-styledcomponents-XcB1omTLf
- Live Site URL: https://shamwela-shortly.netlify.app
Create React App (with JSX)
styled-components
How to Use Fetch with async/await
- Dmitri Pavlutin - This helped me understand JavaScript Fetch with async/await
- Website - shamwela.com
- Frontend Mentor - @shamwela
- Twitter - @shamwela_