Comments (7)
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.
Hi @ganesh-159th, the code you provided works on my end.
Could you try refreshing the page and resubmitting the code?
from freecodecamp.
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.
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.
the same error
@huyenltnguyen i have only changed that particular line only but is showing the same error
from freecodecamp.
thank you @gikf the issue has resolve thanks for help
from freecodecamp.
The issue referenced in #55124 has been resolved
from freecodecamp.
Related Issues (20)
- Role playing game - step 76: Selector in example code may cause confusion HOT 3
- Fill in the blank size doesn't fit the letters HOT 4
- Selected Fill in the blank input gets cut off HOT 2
- Build a Pokémon Search App Project - element id typo HOT 1
- Typo in step 52 of Building a Cipher HOT 1
- Typecheck error in editor tests HOT 4
- Send 200 status for get-session-user
- Add script protection
- GET /mobile-login (take two)
- Don't use underscores in fill in the blank challenges HOT 10
- Move the portfolio edit functionality from the settings page to the portfolio
- Add Building a Pyramid Generator to README.md HOT 1
- Add comments on completed parts of code HOT 3
- Suggestion to Improve Visual Appeal by Removing Border from Login Page HOT 2
- Missing double quote in Build a Telephone Number Validator HOT 8
- Typo in calorie counter project6 (step 69) HOT 1
- Various typos HOT 4
- Typo "binairy" HOT 2
- Missing backticks HOT 3
- Improperly handled challenge submission error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freecodecamp.