In: Computer Science
Write a rule for a class selector named heading. Set the color property to red and the font-family property to arial. Apply the heading class to the
element in the document
CSS:
.heading { color: red; font-family: arial; } Since, you have not shared your document, i can not see how you are using the heading1 in document.. However it should be easy to change.. You can do similar to below:class="heading">heading data