<div>function hello() {
  console.log("Hello, world!");
  }</div>
div:nth-of-type(1) {
  white-space: pre-wrap;
}

div {
  width: 220px;
  border: 2px solid blue;
}

body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  font-size: 1.5rem;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.