Limit Item Size Using the minmax Function Having Issues After Multiple Searches and Attempts

Tell us what’s happening:

I’m fairly new to coding and have started coding to assist with building my resume. I have not had any issues until now. I have tried multiple times and have searched old forums to assist me with this problem, but I am still having trouble with this problem.

Please help.

Thank you.

Your code so far

  .container {
    font-size: 40px;
    min-height: 300px;
    width: 100%;
    background: LightGray;
    display: grid;
    /* change the code below this line */  

  grid-template-columns: repeat(3, minimax(90px, 1fr));

    /* change the code above this line */
    grid-template-rows: 1fr 1fr 1fr;
    grid-gap: 10px;
<div class="container">
  <div class="item1">1</div>
  <div class="item2">2</div>
  <div class="item3">3</div>
  <div class="item4">4</div>
  <div class="item5">5</div>

Your browser information:

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

Link to the challenge:

Take a look at your minmax() function, can you spot the typo?

1 Like

grid-template-columns: repeat(3, minimax(90px, 1fr));

You may replace minimax with minmax (which is the combo of minimum-maximum)