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: Solution on Frontend Mentor
- Live Site URL: URL Shortener API Master
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
I tried some new things in this project and one of them was placing media queries after each section instead of adding them at them end in a bulk. Also learned about basics of Application Programming Interface, on how to make GET/POST requests using the shortcode API to shorten long links.
I am looking forward to make this revisiting the project and integrating an authentication functionality using Firebase and Mongo DB for storing shortened links.
- CSS Grid Guide - This helped me as a reference for CSS Grid Properties
- CSS Flexbox Guide - This helped me as a reference for CSS Flexbox Properties
- Shortcode API Documentation - This helped me in getting information about Shortcode API.
- Frontend Mentor - @suraj-singh127
- Twitter - @SurajSi75026934