Learn CSS Grid by Building a Magazine - Step 34

Tell us what’s happening:
i am stuck at step 33 i did what exactly was asked from me or maybe i made mistake somewhere pls help me to find it
Your code so far

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

WARNING

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.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36

Challenge: Learn CSS Grid by Building a Magazine - Step 34

Link to the challenge:

The minmax functions should replace what was originally there.

So what should i do in order to replace

The original CSS is:

grid-template-columns: 1fr 94rem 1fr;

Each of those three values should be replaced with a minmax function, which you actually sort of did. You added the three minmax functions, but you still have the original values in there as well at the end. So you just added the minmax functions, you didn’t replace.

1 Like

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