Tell us what’s happening:
Describe your issue in detail here.
I am stuck here,[ You can add style to an element by specifying it in the style element and setting a property for it like this]:
the syntax or the way you’re supposed to write styles for an HTML element is this:
button {
color: red;
}
// if we try to understand each part individually,
// we get.
//selector
|
button{
//property-name value
| |
color : red;
}
selector: it is the element you’re trying to target (add any html element name, CSS class or an ID name here).
property name: this is the particular property of that element that you want to change (this would be the color, background color or even width and height) basically anything to do with the presentation of that element.
value: this is the value you want to give to the property name, for example, if the property name is set to color, then the value could be any color. if it set to height or width, then the value could be 10px or 100% or any of the values available to you.