0
In need of solution please
Can someone please help ! This particular code won’t let me create a grid in css I’m not sure how to link the file to the SoloLearn app but it’s saved in my codes as <i>new</i>first on the list
2 ответов
+ 1
remove the colon after repeat
grid-template-columns:repeat(4,2fr);
0
1. This is how to post link to your code in Q&A
https://www.sololearn.com/post/75089/?ref=app
2. Your HTML structure is wrong. Don't use div to wrap body
3. repeat is a function, to be followed immediately by (
4. If you repeat 2fr four times, it is the same as 1fr 1fr 1fr 1fr.
5. I don't see repeat a good fit, what is the layout that you are trying to achieve?
6. a grid system layout boilerplate by Jay:
https://code.sololearn.com/WxWmrROz8093/?ref=app