hwo to use flexbox to make a nav bar

CSS
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
Source

Also in CSS: