I’m trying to do my first project. The first test is to “have an element with a corresponding
id="main" which contains all other elements.”
So I wrote the HTML:
<main id="main"> </main>
I am not clear if the “corresponding” id means it’s contained within the HTML, corresponding to the element, or is it a CSS selector “corresponding” to the Main element?
Also, should we start the code with
And should we be wrapping the Main element in a Body element? Generally speaking, should we be following the user story indications exactly, or follow the instructions we learned in the HMTL curriculum?
In any case, my first test is failing. Any help would be appreciated!