Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS need help with my coding exercise for a CSS grid lesson

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #279740
    kalirain42
    Participant

    I have an exercise asking me to Apply grid to the parent container. Then apply template columns with 3 separate fractional units and a grid gap of 23px They give code for the HTML it has .grid-container and three divs wrote out with just one word of text in them
    (I tried to include the HTML code but it will not post here)
    I’ll try posting a CodePen link
    https://codepen.io/kalirain42/pen/BGMrWW#code-area

    Here’s the CSS code I used to submit my answer:

    /* This was my response that was submitted */
    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 23px;
    }
    
    

    I have even coded an idex.html file and basic.css file in Visual Studio Code and it works in Chrome, however any way that I submit it it comes back as failed…
    What am I missing or doing wrong?? Hellllp…

    #279746
    Paulie_D
    Member

    Looks right to me based on the information you supplied

    If they’d marked it as wrong they should tell you why!

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.