@Zy8712
Posted
Your site looks great! The only thing I'd alter is the use of <div class="button">
inside of your <button>
tags as it is sort of redundant in my opinion. So the main thing I'd say you should work on is the formatting of your code and elimination of redundant code. In this case you should be able to implement the button just using:
<button>
<img src="./images/icon-cart.svg" alt="cart_icon"> Add to Cart
</button>
as the bare minimum. Along with some css code like this:
button{
width: 100%;
height: 45px;
color: var(--theme-white);
background-color: var(--theme-dark-cyan);
border-style: none;
border-radius: 8px;
display: flex;
justify-content: center;
align-items: center;
font-family: var(--font-theme-montserrat);
font-weight: 700;
}
button > img{
margin-right: 10px;
}
Aside from that I'd say you have some good practices such as the use of semantic tags and the abscence of redundant alt text for images. Nice work 👍
Marked as helpful