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

Ping single column coming soon page

Amit Kumarβ€’ 100

@amit-kumar-18

Desktop design screenshot for the Ping single column coming soon page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Will appreciate any feedback.

Thanks.

Community feedback

Vanza Setiaβ€’ 27,795

@vanzasetia

Posted

Hi, Amit Kumar! πŸ‘‹

I have three suggestions for this solution:

  • Firstly, always specify the type of the button. In this case, set the type of them as type="submit". It will prevent the button from behaving unexpectedly (reference: Checklist - The A11Y Project).
  • Secondly, avoid using JavaScript to add styling (unless you've no other option). JavaScript allows you to change the CSS code using the style property. But, to make debugging easier and improve code maintainability, it’s best to avoid it. Use CSS classes instead.
  • Lastly, I would recommend fixing all the accessibility issues that have been generated.

Hope this helps! πŸ™‚

1

Amit Kumarβ€’ 100

@amit-kumar-18

Posted

@vanzasetia thank you for all the tips. I have updated the solution accordingly.

0
Vanza Setiaβ€’ 27,795

@vanzasetia

Posted

@amit-kumar-18 You're welcome! πŸ‘

It's good that you fixed all the accessibility issues and used CSS classes instead of the style property. But, I notice that the type of the "Notify Me" button is button. It is a submit button so type="submit" would be the appropriate one.

1
Amit Kumarβ€’ 100

@amit-kumar-18

Posted

@vanzasetia I don't know how I did that wrong even after your first suggestion. But now it's fixed.

Thanks.

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