John Roberts Tribute Page - Feedback Appreciated

John Roberts Tribute Page - Feedback Appreciated
0

#1

just finished the tribute page challenge! I kinda randomly picked John Roberts.


#2

Hi
This code is not correct:

 <h1>John Roberts</h1>
  <h5>Chief Justice of The Supreme Court</h5>

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.

https://www.w3.org/TR/html5/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements

h1-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 Common idioms without dedicated elements section of the specification.

https://www.w3.org/TR/html5/common-idioms.html#common-idioms

This code is not correct ( ‘;’ is not a valid attribute of the <div> element.)

<div style="background-color:black;color:white;padding: 10px";>

Cheers and happy coding :slight_smile: