@javascriptor1
Posted
Hi Edi ,
Nice work. You have included lots of span elements which not really need it for the purpose you wanted to achieve ( breaking into new line). You can control text flow by control the width of the element. Moreover , if you want to break into a new line , just use the <br> tag and it will send the text which comes after into a new line.
Another note , your p tag ( class="box__descricao" ) is not aligned with h1 tag (class="box__titulo") as the design. Give it a look.
Also , there is no need to wrap h1 and p tag in div tag. p & h1 tags are block level elements and they are the only child for each div in your markup. So using div here does not make any sense - you can write the tags directly without div.
Keep Going 🚀
Marked as helpful
@ediCarlosSilva
Posted
Hi @javascriptor1 ! I did it. Could you see there? If it is ok? thanks.
@javascriptor1
Posted
Hii Edi,
The p tag alignment is correct but not h1. Try to increase the font size of h1 tag and compare with original design using trial and error till you get it right.
@ediCarlosSilva