Hi, I have been working on my tribute page for 2 weeks. I have finally completed it. Kindly give me your feedback campers
1 Like
Hi @kaiserbilawal,
CSSlinter:
- Invalid value (0[zero]):
h1{
font-weight: 0;
}
MDN documentation:
font-weight - CSS: Cascading Style Sheets | MDN
Values
- normal
Normal font weight. Same as 400. - bold
Bold font weight. Same as 700. - lighter
One font weight lighter than the parent element (among the available weights of the font). - bolder
One font weight darker than the parent element (among the available weights of the font). - 100, 200, 300, 400, 500, 600, 700, 800, 900
Numeric font weights for fonts that provide more than just normal and bold.
HTML
- Do not use lower levels to decrease heading font size:
<h1> Robin Williams </h1>
<h3 id="Hp1">(1951 - 2014)</p>
</h3>
MDN documentation:
<h1>โ<h6>: The HTML Section Heading elements - HTML: HyperText Markup Language | MDN
**Do not use lower levels to decrease heading font size: use the CSS font-size property instead.**Avoid skipping heading levels: always start from
<h1>
, next use<h2>
and so on.
h2โh6 elements must not be used to markup subheadings, subtitles, alternative titles and taglines unless intended to be the heading for a new section or subsection. Instead use the markup patterns in the ยง4.13 Common idioms without dedicated elements section of the specification.
Common Idioms
HTML Standard
- A lost
</p>
<h3 id="Hp1">(1951 - 2014)</p> <-- here
Cheers and happy coding