Code Monkey home page Code Monkey logo

Comments (7)

gikf avatar gikf commented on July 20, 2024 1

At the start of this step there's 162 lines, on your screen there are up to 186, that doesn't seem to be right. Try resetting the code and then adding only:

@media only screen and (max-width: 600px) {
  .text-with-images {
    grid-template-columns: 1fr;
  }
}

from freecodecamp.

huyenltnguyen avatar huyenltnguyen commented on July 20, 2024

Hi @ganesh-159th, the code you provided works on my end.

Could you try refreshing the page and resubmitting the code?

from freecodecamp.

ganesh-159th avatar ganesh-159th commented on July 20, 2024

Hi @huyenltnguyen
No, I have tried refreshing the page and resubmitting the code, but it is still showing the same error. I have modified the code again, and it is still showing the same error.

If you don't mind, could you paste this updated code and try it again?
.image-wrapper {
display: grid;
grid-template-columns: 2fr 1fr;
grid-template-rows: repeat(3, min-content);
gap: 2rem;
place-items: center;
}

.image-1,
.image-3 {
grid-column: 1 / -1;
}

@media only screen and (max-width: 720px) {
.image-wrapper {
grid-template-columns: 1fr;
}
}

@media only screen and (max-width: 600px) {
.image-wrapper {
grid-template-columns: 1fr;
}

.text-with-images {
display: grid;
grid-template-columns: 1fr;
}
}
thanks!

from freecodecamp.

huyenltnguyen avatar huyenltnguyen commented on July 20, 2024

Just to clarify, did you add that entire code to the editable section (the part of the editor that sits between the instructions and the check/submit button)?

For this particular challenge, only the following code is needed:

@media only screen and (max-width: 600px) {
  .text-with-images {
    grid-template-columns: 1fr;
  }
}

So if you added .image-wrapper, .image-1, etc. to the editable section, please remove them, those CSS rules are already available in the stylesheet (you can see them if you scroll up to line 144).

from freecodecamp.

ganesh-159th avatar ganesh-159th commented on July 20, 2024

the same error
Screenshot 2024-06-10 at 2 48 50 PM
@huyenltnguyen i have only changed that particular line only but is showing the same error

from freecodecamp.

ganesh-159th avatar ganesh-159th commented on July 20, 2024

thank you @gikf the issue has resolve thanks for help

from freecodecamp.

ganesh-159th avatar ganesh-159th commented on July 20, 2024

The issue referenced in #55124 has been resolved

from freecodecamp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.