After number of days, I have finally gotten my tribute page done. fellow campers, kindly give me your thoughts about my project . thanks in advance.
Hi dagbanbia,
HTML inspector:
- The
<div>
element cannot be a child of the<ul>
element.
MDN documentation:
<ul>: The Unordered List element - HTML: HyperText Markup Language | MDN
Permitted content
zero or more<li>
elements, eventually mixed with<ol>
and<ul>
elements.
<ul class="list-unstyled">
<li>
<p class='pl-5'>
...
</p>
</li>
<div class="blockquote-footer pl-5 display-5">Ghana's former President Prof. Evans Atta Mills </div>
</ul>
'''
is not a valid attribute of the<p>
element.
<p '>Here's a time line of Dr. Kwame Nkrumah 's life:</p>
HEADING
- Do not use lower levels to decrease heading font size:
<div class='col-10'>
<h1>Dr. Kwame Nkrumah</h1>
</div>
<div class='col-1'></div>
<div class='col-1'></div>
<div class='col-10'>
<h3>The visionary first leader of Ghana.</h3>
</div>
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
Cheers and happy coding