+ 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?
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
+ 2
why would you want to nest anchor tags?
+ 2
Yp I read such thing is illegal and can cause unexpected behavior, i got it now 👍
0
Yeah but why wasnt it working before? Whats wrong with the anchor element?
0
So I cant nest a within a elements ?