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

Responsive HTML-CSS-JS - Advice generator app

Hugo 430

@HugoMoncada

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

Ahmed Bayoumi 6,800

@Bayoumi-dev

Posted

Hey Hugo, It looks good!... Here are some suggestions:

  • Use <button class="dice-div"> instead of <div class="dice-div">... Buttons are used for actions.
<button class="dice-div">
      <img class="dice" src="/images/icon-dice.svg" alt="Advice Generator">
</button>
  • Use the quotation element instead of the heading element to add more semantics to your project... ---> <q>: The Inline Quotation element

  • Use REM for font size, It is a must for accessibility because px in some browsers doesn't resize when the browser settings are changed... See this article ---> CSS REM – What is REM in CSS?

Hope this help!... Keep coding👍

1

Hugo 430

@HugoMoncada

Posted

@Bayoumi-dev Thank you so much for your comment. I didn't know how not using REM affected some browsers, didn't know about quotations either, but now, thanks to you I know about those things and will apply them. The button was pure laziness because of how "simple" the project was, I will change that mentality for future projects.

Thanks again for letting me know how to improve this project. I appreciate it

Keep coding👍

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