Need some help with jQuery .css!

Hi! I’m having using the .css function with jQuery.

I have this link with the class “liqui”:

<li><a href="" class="liqui">Check his Liquipedia for more!</a></li>

And then a jQuery to give it some random stand-out css for test purposes:

        "background-color": "yellow",
        "font-size": "200%"

But it isn’t applying the css changes.

Am I doing something wrong?

Do you have jQuery added to the project? If so, then I would suggest moving all the JavaScript in between the script tags into the JS module.

Oh wow, that worked! Thank you!
I’ll be sure to keep jQuery stuff inside the JS module.