Why display:grid ; is not working in the code....? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Why display:grid ; is not working in the code....?

Even I'm unable to use display grid property in my code playground....... . https://code.sololearn.com/WtE1uSUO4zUD/?ref=app https://code.sololearn.com/WtE1uSUO4zUD/?ref=app

29th Dec 2020, 11:11 AM
Ayush Jain
Ayush Jain - avatar
4 Answers
+ 4
Oh, I think it's works, the element is centered. I don't see any problems 🙃 Maybe you Was asking about text that's not centered? For the text just use this: https://code.sololearn.com/WV1f6RnHATU7/?ref=app
29th Dec 2020, 11:21 AM
Matthew
Matthew - avatar
+ 2
Ayush Jain could you please clarify what is actually not correct in your output. Everything seems to fine. Please refer to this on using CSS Grid Layout https://www.w3schools.com/css/css_grid.asp
29th Dec 2020, 11:22 AM
Art1mis
+ 2
MΛƬƬΣӨ || GLIЯΛ Thank you I gotcha for what I was confused.. 😊
29th Dec 2020, 11:40 AM
Ayush Jain
Ayush Jain - avatar
+ 2
Art1mis thank you 😊
29th Dec 2020, 11:41 AM
Ayush Jain
Ayush Jain - avatar