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.
My task was to build out the responsive landing page project to the designs inside the /design
folder and get it looking as close to the design as possible.
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: url-shortener-app
- Live Site URL: shorten-long-urls
- Created the HTML structure of the page
- Styled the document mobile first with CSS
- Implemented the mobile menu functionality in JS
- Implemented the API call functionality to shorten links.
- Handled any API-related errors
- Stored links in local storage to be accessed even after page load
- Added copy and delete functionality to the shortened links
- Uploaded project to a git repository
- Deployed project to live site in Netlify
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- Vanilla JavaScript
- url shortener service API
This project gave me a better understanding on how to work with the local storage. It also enhanced my CSS skills, as I had to work with quite several properties for the first time. Also getting better at using the JavaScript Async functions for API calls.
- Frontend Mentor - @sarah-okolo