I'm currently enrolled in a course that requires completing a programming exercise for grading purposes. While I've had success with other exercises, this particular one is giving me trouble. Here are the issues I keep encountering:
The labels marked as 'NEW' within span
tags should have a color of '#fa9f42' (plus 1 related test).
The element with the ID 'copyright' should have a font size of 0.75em.
Below is a snippet of my code where I've included these specifications:
body {
background-color: #E0E0E2;
}
h1 {
color: #721817;
}
h2 {
color: #721817;
}
.center-text {
text-align: center;
}
#logo {
margin-left: auto;
margin-right: auto;
display: block;
}
h2 span {
color: #FA9F42;
font-size: 0.75em;
}
#copyright {
padding-top: 12px;
font-size: 0.75em;
}
Additionally, here are the instructions provided in the readme file:
Open the
styles.css
file.Add a CSS rule for the
body
element setting its background color to#E0E0E2
.Create a CSS rule for the
h1
element changing its text color to:#721817
.Add a CSS rule for the
h2
element setting its text color to:#721817
.Include a CSS rule for the
center-text
CSS class to align text to thecenter
.Add a CSS rule for the HTML element with the id
logo
. Adjust its left and right margins toauto
and change its display to ablock
element.Insert a CSS rule for all
span
elements that are children ofh2
elements setting their text color to#FA9F42
and their font size to0.75em
.Create a CSS rule for the HTML element with the id
copyright
. Set its top padding to12
pixels and its font size to0.75em
.
I've attempted resubmitting without any improvement.