@pRicard0
Posted
Some HTML tips
- Instead of using h2 and p for the prices, you can use em and s. The
<em>
tag is used to define emphasized text. The<s>
tag specifies text that is no longer correct, accurate or relevant. The text will be displayed with a line through it by default. - You shouldn't use the alt attribute for decorative images
Some CSS tips
You can add some effects to the button like....
button:hover {
transform: scaleY(1.1);
background-color: hsl(158, 35%, 20%);
}
and...
button {
transition: 300ms;
}
This is just an example!!!
Marked as helpful
@bdal90
Posted
Hey there @pRicard0,
Thanks for reminding me of the transition, I forgot about that. As for the HTML tips, very useful, I'll keep them in mind!
Cheers,
Dalma