The challenge was to build out this landing page, integrate with the shrtcode API.
Your 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 link is wrong
- The
input
field is empty
- Semantic HTML5 markup;
- TailiwndCSS;
- Javascript;
- clipboard.js
- shrtcode API.
npm install
npx tailwindcss -i ./src/input.css -o ./dist/output.css --watch
Tips or advice on how to improve are very welcome, thank you all!