@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 theheading
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👍
@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👍