.
css("Style name", "Meaning")
JavaScript
$("#myElement1").css("color", "#cc0000");
Html
<html>
<!-- heading -->
<head>
<meta charset="utf-8">
<title>Example</title>
</head>
<!-- page -->
<body>
<!-- connect the library jQuery -->
<script src="https://dir.by/example_lib/jquery/jquery-3.3.1.min.js"></script>
<!-- HTML Elements -->
<div id="myElement1">
Hello
</div>
<!-- JavaScript -->
<script>
// the page has opened
$( function()
{
// looking for an element by ID and change the color
$("#myElement1").css("color", "#cc0000");
});
</script>
</body>
</html>