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-api-master (vanillia css/js)

#accessibility

@enzo-mir

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


🕓≈ 6h Api : search for an other api beacause cleanuri Api doesn't work there is a problem with cors as if you use the no-cors mode it's maybe broken :(

Community feedback

P

@ThabisoMagwaza

Posted

This is very nice solution. I'm impressed that you managed to do it with vanilla html and CSS.

I woud, however, caution against straying from the design when implementing such challenges. It's an interesting test of your attention to detail when you attempt to get the final application to look as close to the design as possible.

These are some of the areas I've identified where you strayed from the design:

  1. Some button and links hover states are incorrect
  2. The font sizes and whitespaces are not as per design
  3. The hero image is quite small compared to the design

Additionally, I'd look into disabling the button when call to the url shortening is in progress. I found myself mistakenly clicking the button twice. It would also help to have some kind of loading indicator.

I'm sure you can find some more. I suggest that you look throught the design again while paying close attention to the whitespace, hover and active stetes.

You have an impressive grasp of CSS and I'm sure you'll benefit from the challenge!

Marked as helpful

1

@enzo-mir

Posted

@ThabisoMagwaza Thanks for your feedback I’ll check all issues but at the moment I don’t get design file of pro Frontend Mentor but I can improve form submition, buttons and links but concerning font-size, image sizing or letter-spacing I must have screen shots that I can’t have in free version, anyway the feedback was helpfull !

Thanks ;)

1
P

@ThabisoMagwaza

Posted

@enzo-mir Ah yes I see. It's very difficult to get the sizes and spacing correct if you don't have the figma files

1
Gioant 160

@Gioant

Posted

Looks pretty good. Preview is working for me. Nice responsiveness! the only thing I would consider improving is the error handling for the form input.

For example, the first time a user enters your website and wants to shorten a link they see a box.

How come, even when the user does not enter anything (simply just focusing or clicking on the input) to type something.. they are already presented with an error?😅

I understand you want to emphasize to them that they should put a link but the user didn't even start typing yet.

That's what labels and placeholders are for. You already have a placeholder (that is good!)

Instead, It would be better to show the same error when the user enters an input that is not valid (not a valid link). Not before.

Marked as helpful

1

@enzo-mir

Posted

@Gioant I understand what you want to tell for the input error, I’ll fix it, Thanks !

1

@enzo-mir

Posted

Preview is broken ! If someone can help me to fix it ?

0

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