need help ASAP
I am unsure of how to execute these steps. it would be nice if I could get some help.
steps:
Add a class attribute to the first two
elements and give each of them the attribute value of sports-history
Add a class attribute to the second two
elements and give each of them the attribute value of computing-history
Create a style rule beneath the existing id rules that has a corresponding class selector name of .sports-history. This will target our sports content
Within that rule add a declaration that sets the colour property to orange
Create another style rule has a corresponding class selector name of .computing-history. This will target our programming content
Within that rule add a declaration that sets the colour property to green
Voters
SixBeeps
You got pretty close
- The attribute is just
class
, notclass attribute
. - Attribute values are strings, so surround them with quotation marks.
what am i doing wrong?
Lesson 2 Challenge 4 #heading{ font-family: Arial; background-color: red; color: white; } #uppercase { text-transform: uppercase; } .sports-history{color:orange;} .computing-history{color:green;} </style>Rugby
With the game locked at 10 – 10 with thirty minutes on the clock, a Munster scrum just outside the Biarritz line enabled Peter Stringer to do the unexpected and break on the blindside for an unforgettable try. A moment of sheer brilliance by the Munster and Ireland scrumhalf. The try proved to be crucial as Munster won by 23 – 19 to lift the European Cup in Cardiff.
The first Programmer
Ada Lovelace was an English mathematician and writer, chiefly known for her work on Charles Babbage's proposed mechanical general-purpose computer, the Analytical Engine. She was the first to recognise that the machine had applications beyond pure calculation, and published the first algorithm intended to be carried out by such a machine. As a result, she is sometimes regarded as the first to recognise the full potential of a "computing machine" and the first computer programmer.
The first Compiler
Grace Hopper was an American computer scientist and United States Navy rear admiral. One of the first programmers of the Harvard Mark I computer, she was a pioneer of computer programming who invented one of the first compiler related tools.
????????????????