<h1>How was your day?</h1>
body {
  text-align: center;
  margin: 50px;
}

h1 {
  font-family: 'Lato';
  font-size: 2rem;
  text-transform: uppercase;
  color: green;
  font-weight: 900;
}

@media (min-width: 600px) {
  h1 {
    font-size: 4rem;
  }
}

External CSS

  1. https://fonts.googleapis.com/css2?family=Lato:wght@400;900&amp;display=swap

External JavaScript

This Pen doesn't use any external JavaScript resources.