Hi BLUE-KNIGHT99
So far so good with your solution, but I will add some issues that needs attention:
- There are some divs that I think are not necessary. Whilst you have the important
main
element, this is followed by a div with the classmain
. There are other divs surrounding the text elements as well which I think should be done away with. - A site should have a heading element - all the text content you have assigned the paragraph element, one of them should be a heading element.
- The image in this case should have an alt value with text, I think it has a message for the user (this is just a personal opinion)
- For font sizes, it is recommended not to use px values. The following article will guide with the reasons. Why font sizes should never be in px
- Using explicit sizes on elements can cause you some issues, especially when working on large projects, hence I would advise you to use padding or/and margins when you need that extra space.
Marked as helpful
@blue-knight99
Posted
@ChamuMutezva
Thanks a lot for suggestions