Issue with bootstrap grid system

Issue with bootstrap grid system
0

#1

Hello everybody. I’m working on the 2nd project and i’m having issues with the grid system. Instead of showing the 2 divs side by side it stacks them no matter what i do. I mad sure the col-md where nested within a row div.

here is my codepen link. I’d like for the picture to be on the right at the same level than the text

https://codepen.io/Altho/pen/Gybdbm

<div class="container">
  <div class="row">
    <div class="col-md-12" id="mainf">
       <div class"row">
        <div class="col-md-8">
          <h1>Aspiring Developper</h1>
        </div>
          <div class="col-md-4">
            <img src="https://upload.wikimedia.org/wikipedia/commons/9/97/Grigori_Rasputin_1916.jpg" alt="rasputin" class="img-thumbnail" id="rasputin">
          </div>
    </div>
      </div>
    </div>
    
  </div>

And that’s the code.

Thanks for the help !


#2

You’re missing an = between class and “row” on the fourth line.


#3

Wow i didn’t see that. Thanks !