Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 2.06 KB

README.md

File metadata and controls

62 lines (41 loc) · 2.06 KB

URL shortening API page

This is a solution to the URL shortening API Challenge on Frontend Mentor. This landing page integrates with the shrtcode API, which is used to shorten any valid URL through a simple query. It's open-source and it's completely free.

Table of contents

Overview

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
    • URL is invalid

Screenshot

Desktop and mobile version of URL Shortening Page.

Links

Process

Built with

  • Semantic HTML5 markup
  • CSS variables
  • Flexbox
  • Asynchronous JavaScript
  • Regular expressions
  • localStorage
  • Mobile-first workflow

Useful resources

Author