GithubHelp home page GithubHelp logo

martinsgundi / shortly-url-shortener Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.15 MB

This is Shortly's landing page featuring an appealing user interface (U.I) and the added functionality to shorten URLs.

Home Page: https://gundi-url-shortener.netlify.app/

HTML 27.88% CSS 54.36% JavaScript 17.76%
api tailwindcss vanilla-js

shortly-url-shortener's Introduction

Frontend Mentor - Shortly URL shortening API Challenge solution

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.

Table of contents

Overview

The challenge

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

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Tailwindcss
  • Vanilla Js
  • Mobile-first workflow

What I learned

In this challenge, I embarked on a journey to practice asynchronous JavaScript, primarily focusing on interacting with APIs. Initially, I was provided with an API to shorten URLs, and I diligently explored its documentation. Despite my efforts, I encountered multiple roadblocks when attempting to utilize the API successfully. The frustration began to set in until I made a startling discovery - the API endpoint I was working with had gone offline and was no longer accessible.

Undaunted by this setback, I began searching for alternative APIs to achieve my goal. This search presented its own set of challenges, as I encountered various errors and struggled to understand the intricacies of API consumption.

Nonetheless, I persevered and gained valuable skills in the process. I became adept at understanding API documentation, a vital skill for developers. I also improved my problem-solving skills, which are essential in the world of programming.

Furthermore, I explored local storage for the first time. It was a learning experience that involved trial and error. Eventually, I successfully incorporated local storage into my project, and this gave me confidence in using it for future projects.

In summary, this experience was more than just a coding challenge; it was a journey of growth and discovery. It reinforced the importance of resilience and resourcefulness when tackling complex programming tasks.

Continued development

I'm looking forward to working with APIs more extensively in my future projects. Additionally, I plan to make further use of local storage before venturing into more advanced server-side tools for data storage and communication.

Author

shortly-url-shortener's People

Contributors

martinsgundi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.