@haquanq
Posted
Hello @DalaScript ๐๐๐
Nice work, it looks perfect on the screenshot comparison!!
Here is something you can improve:
- When you use
article
, always give it a title/heading (oftenh2-h6
- each page must have oneh1
). In your case, these bold text is obviously the title/heading of thearticle
so you can useh1
instead ofp
. - You can just leave
h1
andp
without wrapping it indiv
and the layout still looks the same (avoid using unnecessarydiv
becausediv
has no semantic) .
Nice work, keep it up!! Happy coding ๐๐๐
Marked as helpful
@DalaScript
Posted
Hello @haquanq ๐
thank you for your advice๐
- The reason I used the P element was because I set it up, so I gave it font size and font weight and thought it didn't matter. But you're right, for search engines it's better to use heading elements instead of P because it's actually a heading.
- That container was for padding left and right, but i change it, and it is now section.
Thank you, I wish you Happy coding tooโจ