DEV Community

loading...

Discussion on: How to make elements behave like links without wrapping them in anchor tags

Collapse
joeattardi profile image
Joe Attardi

I don't know, this feels like a hack to me.

Collapse
26th_edmund profile image
Edmund 🚀 Author

Haha I get what you mean Joe, the idea is to ensure that the elements retain the correct structure in the DOM.

Forem Open with the Forem app