Https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-projects/build-a-tribute-page

I have tried to complete the first User Story, took hours but the test still does not let me pass. Can someone show me the example?

User Story #1: My tribute page should have an element with a corresponding id="main" , which contains all other elements.

I am working on this on here: https://codepen.io/freeCodeCamp/pen/MJjpwO

Already so stuck.

My CSS is:

.main { }
.main { }

'

This is my html

`

`

This is my HTML

I spent time to figure out but can you give me the code to pass the first test or the hint?

Because I could not really understand what I am supposed to do at the first place. But once I see the sample, I should move forward to following tests

#Content

  • 1. My tribute page should have an element with corresponding id=“main”, which contains all other elements.

expected null to not equal null AssertionError: expected null to not equal null

o.assert.isNotNull(document.getElementById("main")),Object(o.assert)(document.querySelectorAll("#main div, #main figure, #main section, #main a, #main h1, #main img").length,'element with id="main" must contain other elements')

and it gives me a bunch of links