DEV Community

Discussion on: What is a specific recurring challenge you have with CSS?

Collapse
 
thinkverse profile image
Kim Hallberg

This isn't really something I "build" over and over again, but, I keep forgetting the way <link> work most of the time and have to look it up, sometimes I even try to use <style src=""> to add external styles, I'm not sure why I keep forgetting it though, might be because <script> uses src maybe? Who knows. ๐Ÿค”

Collapse
 
5t3ph profile image
Stephanie Eckles

Hi, I've been a developer for 13 years and literally just started getting this right in the last few months ๐Ÿ˜… It does feel like bizarre syntax for what it's doing!

Collapse
 
thinkverse profile image
Kim Hallberg

Absolutely, src I feel would be better than href for <link>, since you're getting the source of the stylesheet, not the reference of it. ๐Ÿ‘