I need help in tribute page.....it show two error

please anyone help me…

1st error:

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
    at Proxy.c (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:549:1889)
    at Proxy.l (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:431:130)
    at Function.n.isNotNull (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:574:1549)
    at a.<anonymous> (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:118298)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:38668
    at i.g.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:38963)
    at N.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45686)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:46651
    at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45075)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45145

2nd error:

6. I should see an element with a corresponding id="tribute-info", which contains textual content describing the subject of the tribute page.
expected null to not equal null
AssertionError: expected null to not equal null
    at Proxy.c (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:549:1889)
    at Proxy.l (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:431:130)
    at Function.n.isNotNull (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:574:1549)
    at a.<anonymous> (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:657:120022)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:38668
    at i.g.run (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:38963)
    at N.runTest (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45686)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:46651
    at o (https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45075)
    at https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js:598:45145

My code link:- https://codepen.io/bhawna_kumari/pen/Vwjampd

Challenge: Build a Tribute Page

Link to the challenge:

Does your tribute page have an element with id="main", and does it contain all other elements? It’s hard to help if you only show the errors but not your code.

Again, does your page have an element with id="tribute-info", and does it contain textual content?

Please Check The Code…

Biography Page For STEVE JOBS

STEVE JOBS

Co-Founder Apple Computers

Steve Jobs 1955-2011

24 Feb 1955- Steven Paul was born in San Francisco, the son of Abdulfattah Jandali and Joanne Schieble. He is quickly adopted by Paul and Clara Jobs.

1969- Steve Jobs meets Steve Wozniak, 5 years older, through a mutual friend. Woz and Steve share a love of electronics, Bob Dylan, and pranks.

Mar 1976- Woz and Steve show the early Apple I board at the Homebrew Computer Club.

28 Aug 1976- Steve Jobs and Woz show off the Apple I at the Personal Computing Festival in Atlantic City, with help from Dan Kottke.

1978- At Apple, work starts on the Apple III and the Lisa, while Jef Raskin begins The Book of Macintosh

May 1980- Apple launches the Apple III, which will prove a disastrous flop

                <p> Jan 1983- Launch of the Lisa computer. The Lisa team later merges with the Mac team under Steve Jobs's leadership</p>
                
                <p>8 Apr 1983- PepsiCo CEO John Sculley becomes Apple's CEO after having been wooed by Steve Jobs for several months</p>
                
                <p>17 Sep 1985- Steve Jobs resigns from Apple and starts NeXT with five other refugees from Apple. Apple announces it will sue NeXT</p>
                
                <p>Dec 1996- Apple, which was desperately looking for a modern operating system to buy, eventually buys NeXT for $400 million. Steve Jobs is named <em>"informal adviser"</em> to Apple CEO Gil Amelio</p>
                
                <p>6 May 1998- Steve Jobs introduces Apple's revolutionary iMac at the Flint Center auditorium in Cupertino, 14 years after he had introduced the Macintosh at that same place</p>
                
                <p>5 Oct 1999- Introduction of the iMac DVs and of iMovie, the first of Apple's first <em>Digital Hub</em> app</p>
                
                <p>28 Apr 2003- Apple opens the revolutionary online iTunes Music Store in the US, after negotiating landmark deals with all major music labels</p>
                
                <p>15 Jan 2008- At Macworld 2008, Steve Jobs introduces MacBook Air, with the tagline 'the world's thinnest notebook'. Three years later, it will come to redefine all of Apple's notebook product line</p>
                
                <p>24 Aug 2011- Steve Jobs resigns as CEO of Apple, with the words '<em>I have always said if there ever came a day when I could no longer meet my duties and expectations as Apple's CEO, I would be the first to let you know. Unfortunately, that day has come.</em>' Tim Cook becomes Apple CEO</p>
                
                <p>5 Oct 2011Steve Jobs dies at home, surrounded by his family</p> 
    </div>
          <div id="quote">"Have the courage to follow your heart and intuition. They somehow know what you truly want to become."<br>
                -STEVE JOBS
            </div>
        </div>
            
         
     <div id="footer"> 
                <p>Do read more about this impeccable personality <a href="https://en.wikipedia.org/wiki/Steve_Jobs" target="_blank" id="tribute-link">Wikipedia Page</a>.</p>  
        </div> 
  </div>
</body>

My code link:-

You’ve written this: <id="main">, but <id> is not a valid HTML tag. You can add an id attribute to an element like <div id="tribute-info"> or <p id="content">.

You actually did that correctly here in your code:
<p id="img-caption">

1 Like

Thanx…for ur reply…it’s done