Responsive Web Design- Tribute Page

Tell us what’s happening:
Hi guys,

I need help!! I’m not sure what i’m doing wrong but I can’t seem to put the text and image in the center of the page, it keeps going to the left side.

Can someone kindly check my code and point out my mistake.

Your code so far

Michael Thomas Somare

       <img src="https://vkpeek.files.wordpress.com/2013/05/michael-somare-portrait.jpg" alt="MTS in Sepik attire" id="image">
       <img src="https://photos1.blogger.com/blogger/6408/632/1600/PapuaNewGuineaPhoto.0.jpg" alt="MTS current" id="image">
      </div>
     <p id="img-caption" class="center"><em>THE FOUNDING FATHER OF PAPUA NEW GUINEA.</em></p>
  </div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36.

Challenge: Build a Tribute Page

Link to the challenge:

Hello @noxmaraba, we need further information to properly help you with this, as that simple code snippet is not enough to get a clear picture of what’s going on.

Do you have a sharable demo? Like a codepen project for example?
That would up your chances of being helped :slight_smile:

As has already been said, we need more info to be sure, but I solved a similar issue with display: block, hope that helps.

Post link to your codepen here.