Q:

why elements are not in one row?

Why this two elements are not in one row? I use bootstrap 4
<div class="container">
   <div class="row">
      <div class="col-lg-2">
         <a class="logo"><img class="logo__img"  src="./img/logo.png"/></a>
      </div>
      <div class="col-lg-1 hamburger">
         <span></span>
         <span></span>
         <span></span>
      </div>
  </div>
</div>

enter image description here
.hamburger span {
    background: #fff;
    display: block;
    height: 2px;
    margin-bottom: 5px;
    width: 2.4rem;
}

A:

did you add the cdn ,
if you didnt add the cdn ,bootstrap wont work

