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: Go to solution URL
- Live Site URL: url-shortener.com
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
- React - JS library
- Tailwind CSS - For styles
- I learnt about controlling an element's position using relative instead of absolute/fixed positioning
- I also learn't that the copy to clipboard API doesn't work in LocalHost or insecure connections
- Also learn't some cool button hover effect useing ::before.
There is alot to leaern about React in particular
As always StackOverflow came through
- Frontend Mentor - @NnadiVictory25
- Twitter - @nnvictory001
To people that I learnt from on stackoverflow