Learn CSS Grid by Building a Magazine - Step 60

Tell us what’s happening:

This seems like the easiest step in the world. I’m wondering if my browser isn’t rendering some of the question correctly? seems simple, set a margin to 1.5rem, but the question in this unit states set margin to 1.5rem0 <---- that’s not a typo by me, is this some type of newline bug or something? please help, I can’t proceed, and I’m really on a roll today.

Your code so far


The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;

html {
  font-size: 62.5%;

body {
  font-family: 'Baskervville', serif;
  color: linen;
  background-color: rgb(20, 30, 40);

h1 {
  font-family: 'Anton', sans-serif;

h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;

a {
  text-decoration: none;
  color: linen;

main {
  display: grid;
  grid-template-columns: minmax(2rem, 1fr) minmax(min-content, 94rem) minmax(2rem, 1fr);
  row-gap: 3rem;

img {
  width: 100%;
  object-fit: cover;

hr {
  margin: 1.5rem;

.heading {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 1.5rem;

.text {
  grid-column: 2 / 3;
  font-size: 1.8rem;
  letter-spacing: 0.6px;
  column-width: 25rem;
  text-align: justify;

.hero {
  grid-column: 1 / -1;
  position: relative;

.hero-title {
  text-align: center;
  color: orangered;
  font-size: 8rem;

.hero-subtitle {
  font-size: 2.4rem;
  color: orangered;
  text-align: center;

.author {
  font-size: 2rem;
  font-family: "Raleway", sans-serif;

.author-name a:hover {
  background-color: #306203;

.publish-date {
  color: rgba(255, 255, 255, 0.5);

.social-icons {
  display: grid;
  font-size: 3rem;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  align-items: center;

.first-paragraph::first-letter {
  font-size: 6rem;
  color: orangered;
  float: left;
  margin-right: 1rem;

**Your browser information:**

User Agent is: <code>Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.0 Safari/605.1.15</code>

**Challenge:** Learn CSS Grid by Building a Magazine - Step 60

**Link to the challenge:**

Have even tried being verbatim.


I believe the 0 is a second value. Try leaving a space between the first value 1.5rem, and the seond one 0;


border:  5px 3px;

Hope this helps you.

1 Like

Space your values, sir.

1 Like

Thank you so much! new concept interrupted by a line break lol

1 Like

Thank you very much!

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