+ 1

Please help me solve this grid problem?

https://code.sololearn.com/Wc38sMYCHZ1f/?ref=app The code behaved as expected but as soon as I entered a new anchor element within the “.project-info” div, a new cell got added to the grid container with the class .projects-center . What am I doing wrong?

30th Jan 2023, 2:38 AM
Patrick Ascanoa
Patrick Ascanoa - avatar
5 Respostas
+ 6
Patrick Ascanoa because of Another tag was inserted inside one first anchors tag this is creat double cell.. You use like this.. <a href="#"> ... ... <a href="#">visit site</a> </a> --insted of this use <a href="#"></a> you can not use anchor tag within anchor tag Are you Wana this.. https://code.sololearn.com/WfxbHu34v60N/?ref=app
30th Jan 2023, 3:40 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar
+ 2
why would you want to nest anchor tags?
30th Jan 2023, 2:04 PM
Bob_Li
Bob_Li - avatar
+ 2
Yp I read such thing is illegal and can cause unexpected behavior, i got it now 👍
30th Jan 2023, 3:38 PM
Patrick Ascanoa
Patrick Ascanoa - avatar
0
Yeah but why wasnt it working before? Whats wrong with the anchor element?
30th Jan 2023, 3:29 AM
Patrick Ascanoa
Patrick Ascanoa - avatar
0
So I cant nest a within a elements ?
30th Jan 2023, 3:47 AM
Patrick Ascanoa
Patrick Ascanoa - avatar