[SOLVED] CSS Not Working

[SOLVED] CSS Not Working
0

#1

I started with freecodecamp and was working on making my portfolio page at codepen. Much to my chargin,
I had to change properties of elements via inline style method as class and id methods are not working. Can someone please help me with this issue?

Link to my codepen: https://codepen.io/anmoldp7/pen/JMQqPj

Thanks in advance.


#2

You were super close, it’s the quotes:

#hd {
    color: red;
}

When you’re doing styling with a .css file (meaning not via an inline style), you nix the quotes for pretty much all the style syntax.


#3

Thanks! I’m grateful for the quick response!


#4

No problem! Good luck with the rest of your portfolio :smile: