Design comparison
SolutionDesign
Solution retrospective
This is my next world, any remarks or feedback would be appreciated.
Community feedback
- @prabhkaur301Posted almost 3 years ago
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 helpful1
Please log in to post a comment
Log in with GitHubJoin 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