Full-time web dev; JS lover since 2002; CSS fanatic. #CSSIsAwesome
I try to stay up with new web platform features. Web feature you don't understand? Tell me! I'll write an article!
He/him
I don't see why not! Two tangential comments though:
Each <section> should ideally have a heading tag (<h1>-<h6>) to identify the section. Remember that a <section> should be something you'd list in your table of contents, so what would you call that section? Though I recognize you might have skipped it for the sake of example code, and of course this has no effect on the main point
Your comment syntax is slightly wrong, it should be <!-- rather than <--!. But again, no effect on the main point
Thanks for answering !
It feels clearer now.
Last question, just to be sure I understand well, would it be correct to do the following :
I don't see why not! Two tangential comments though:
Each
<section>
should ideally have a heading tag (<h1>
-<h6>
) to identify the section. Remember that a<section>
should be something you'd list in your table of contents, so what would you call that section? Though I recognize you might have skipped it for the sake of example code, and of course this has no effect on the main pointYour comment syntax is slightly wrong, it should be
<!--
rather than<--!
. But again, no effect on the main pointThanks again !
And :facepalm: for comment syntax X)