|
| 1 | +# Frontend Mentor - Shortly URL shortening API Challenge solution |
| 2 | + |
| 3 | +This is a solution to the [Shortly URL shortening API Challenge challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/url-shortening-api-landing-page-2ce3ob-G). Frontend Mentor challenges help you improve your coding skills by building realistic projects. |
| 4 | + |
| 5 | +## Table of contents |
| 6 | + |
| 7 | +- [Overview](#overview) |
| 8 | + - [The challenge](#the-challenge) |
| 9 | + - [Screenshot](#screenshot) |
| 10 | + - [Links](#links) |
| 11 | +- [My process](#my-process) |
| 12 | + - [Built with](#built-with) |
| 13 | + - [What I learned](#what-i-learned) |
| 14 | + - [Continued development](#continued-development) |
| 15 | + - [Useful resources](#useful-resources) |
| 16 | +- [Author](#author) |
| 17 | + |
| 18 | +## Overview |
| 19 | + |
| 20 | +### The challenge |
| 21 | + |
| 22 | +Users should be able to: |
| 23 | + |
| 24 | +- View the optimal layout for the site depending on their device's screen size |
| 25 | +- Shorten any valid URL |
| 26 | +- See a list of their shortened links, even after refreshing the browser |
| 27 | +- Copy the shortened link to their clipboard in a single click |
| 28 | +- Receive an error message when the `form` is submitted if: |
| 29 | + - The `input` field is empty |
| 30 | + |
| 31 | +### Screenshot |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +### Links |
| 36 | + |
| 37 | +- Solution URL: [Add solution URL here](https://your-solution-url.com) |
| 38 | +- Live Site URL: [Add live site URL here](https://your-live-site-url.com) |
| 39 | + |
| 40 | +## My process |
| 41 | + |
| 42 | +### Built with |
| 43 | + |
| 44 | +- Semantic HTML5 markup |
| 45 | +- CSS custom properties |
| 46 | +- Flexbox |
| 47 | +- CSS Grid |
| 48 | +- Mobile-first workflow |
| 49 | + |
| 50 | +### What I learned |
| 51 | + |
| 52 | +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 |
| 53 | +a bulk. |
| 54 | +Also learned about basics of Application Programming Interface, on how to make GET/POST requests |
| 55 | +using the shortcode API to shorten long links. |
| 56 | + |
| 57 | +### Continued development |
| 58 | + |
| 59 | +I am looking forward to make this revisiting the project and integrating an authentication functionality using Firebase and Mongo DB for |
| 60 | +storing shortened links. |
| 61 | + |
| 62 | +### Useful resources |
| 63 | + |
| 64 | +- [CSS Grid Guide](https://css-tricks.com/snippets/css/complete-guide-grid/) - This helped me as a reference for CSS Grid Properties |
| 65 | +- [CSS Flexbox Guide](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) - This helped me as a reference for CSS Flexbox Properties |
| 66 | +- [Shortcode API Documentation](https://shrtco.de/docs/) - This helped me in getting information about Shortcode API. |
| 67 | + |
| 68 | +## Author |
| 69 | + |
| 70 | +- Frontend Mentor - [@suraj-singh127](https://www.frontendmentor.io/profile/suraj-singh127) |
| 71 | +- Twitter - [@SurajSi75026934](https://twitter.com/SurajSi75026934) |
0 commit comments