I have just finished my documentation page, for which I just used copied information from the MDN website.
https://codepen.io/katiemackness/pen/bGGBQom
For this project, I didn’t use the source code from the sample project, to see if I can do kind of the same thing through trial and error-- lots and lots of error! If you can give some input, I have a few questions about best practices:
- I did not use the
<article>
element – is it necessary to use it for a page like this? - I used
<section>
and<header>
for each section on this page – is that the right way to do it? Also, is it correct to use<h2>
and<h3>
within<header>
as I did?
Thanks for any input you can offer