In need of solution please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

2nd Aug 2019, 7:50 PM
Ahmadeo Veal
Ahmadeo Veal - avatar
2 Answers
+ 1
remove the colon after repeat grid-template-columns:repeat(4,2fr);
2nd Aug 2019, 9:02 PM
Michael
Michael - avatar
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
2nd Aug 2019, 10:44 PM
Gordon
Gordon - avatar