OneCompiler

CSS Assignment 3.2

121
<!DOCTYPE html> <!-- DO NOT EDIT THE HTML CODE! You should be working in the style.css file. --> <html> <head> <title> 3.2 CSS: Hex Colors and Background Color </title> <link href="style.css" rel="stylesheet"> </head> <body>
	<!--  PART A  -->
	<h1> This heading is a shade of red </h1>
	
	<h2> This heading is a shade of orange </h2>
	
	<h3> This heading is a shade of yellow </h3>
	
	
	<!--  PART B -->
	<h4> This heading has a green background color </h4>
	
	<h5> This heading has a blue background color </h5>
	
	<h6> This heading has a purple background color </h6>


</body>
<!-- Do not remove following lines. They're used to test. -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://sites.webjam.org/grader/assignment3.2.js"></script>
</html>

/* PART A: Change the color of text using RGB values */
h1 {
color: #fc0303;
}

/* PART B: Change the color of the background of the headings */