In this exercise, you'll use CSS to style a form and let the user known when they've entered something wrong.
span elements inside each label. Add a width and float property so that the spans all form a left column.input element with type="button". Give it a width that makes it take up the whole width of the page.hover state of the button. Give it a background-color on hover.input elements that are required. Give them a border.input elements that are invalid. Give them a background-color of red.span elements that come after the labels (the form hints). Change their font properties.display:none; property to the previous rule so they start off hidden. Then add a CSS rule to style the span elements that come after the labels, but only when the label is being hovered over. Give that state a display:block; property.span that appears after the newsletter input, but only when that input is checked. Give it a bordercolor property.In the end, your form should look something like this screenshot: