I don't know what I need to do

Step 48

When the screen width is small, the h1 does not wrap its text content how it should. Align the text for the h1 element in the center.

Then, give the main padding such that the Student Info section header can be fully seen.

h1 {
  color: #f1be32;
	font-size: min(5vw, 1.2em);
  text-align:center;
}
h2{
  padding:4rem
}

Hint

You should add a main selector to target the main element.

Challenge: Step 48

Link to the challenge:

It’s works. Simple creating a new selector called main and adding padding-top:25px;

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.