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

Advice generator app using vanilla js

@ahmedzaki20

Desktop design screenshot for the Advice generator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
  • API
2junior
View challenge

Design comparison


SolutionDesign

Community feedback

kasey 320

@kaseyvee

Posted

Hello! I notice you have accessibility tagged but unfortunately, I cannot access the dice button by keyboard :( This is where semantic HTML becomes important. It's best to just use the native button element and style to your liking so that they maintain their accessibility features.

You can also simply add the attributes role="button" and tabindex=0 so that it is keyboard accessible and read by screen readers that it is indeed a button.

Hope this helps!

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