@MelvinAguilar
Posted
Hello there 👋. Good job on completing the challenge !
I have other suggestions about your code that might interest you.
-
<span>
is an inline HTML element used to apply styles to specific parts of text without changing the structure or meaning.Paragraphs
<p>
and headers<h1>
,<h2>
, etc., provide semantic meaning to the content. Paragraphs are used for grouping blocks of text, while headers are used to define headings and subheadings in a document.Headers should be used to describe the part of text they are in. If a single word or a short phrase can adequately describe the content, using headers might be unnecessary.
- Also, avoid using the
<div>
tag just for text.<div>
is a generic container used for grouping content and applying styles, but it doesn't convey any semantic meaning. Similarly, avoid using<span>
for entire blocks of text, as it doesn't provide the same semantic value as other tags like paragraphs.
I hope you find it useful! 😄
Happy coding!
Marked as helpful