JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
    <head>
        <title>Learning jQuery</title>
        <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"></script>
    </head>
    <body>
        <div id="box">
        </div>
        <a href="#">Click Me</a>
    </body>
</html>

CSS

#box
{
    height: 200px;
    width: 200px;
    background-color: red;
    border: 1px solid #000;
}

a
{
    display: block;
}

JavaScript

$(function(){

    $('a').click(function(){
        $('#box').css('backgroundColor','#d3cd21');
    });

});