Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

url shortening master

CoderPr0 645

@CoderPr0

Desktop design screenshot for the URL shortening API landing page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


This is my next world, any remarks or feedback would be appreciated.

Community feedback

@prabhkaur301

Posted

You should take the input dynamically from the user . But you've only added google.com link , that every time it shows the same link.

For this , just store the value of input in a variable and then add that variable at the end of API url as 'https://api.shrtco.de/v2/shorten?url='+query

here query is variable which stores the input value. Then you can have shortlinks for each input.

Marked as helpful

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord