make two div side by side

by ud25tGNwMddCP7JI

HTML

<div class="div1">
  <div class="div2">
    hello
  </div>
  <div class="div3">
    world
  </div>
</div>

CSS

.div1{
  display: flex;
}

.div2 {
  background-color: red;
}

.div3 {
  background-color: orange;
}