Delete your h2 element’s style attribute, and instead create a CSS style block. Add the necessary CSS to turn…
Category: Responsive Web Design
Change the Color of Text – Basic CSS
Change your h2 element’s style so that its text color is red. <h2 style=”color: red;”>CatPhotoApp</h2> <main> <p>Click…
Nest Many Elements within a Single div Element
The div element, also known as a division element, is a general purpose container for other elements….
Use the value attribute with Radio Buttons and Checkboxes
Give each of the existing radio and checkbox inputs the value attribute. Do not create any new radio or checkbox elements….
Create a Set of Checkboxes – freeCodeCamp Solutions
Add to your form a set of three checkboxes. Each checkbox should be nested within…
Create a Set of Radio Buttons – freeCodeCamp Solutions
Add a pair of radio buttons to your form, each nested in its own label element. One…
Add a Submit Button to a Form – freeCodeCamp Solutions
Add a button as the last element of your form element with a type of submit, and Submit as its…
Create a Form Element – freeCodeCamp Solutions
Nest the existing input element inside a form element and assign “https://www.freecatphotoapp.com/submit-cat-photo” to the action attribute of the form element. <h2>CatPhotoApp</h2> <main> <p>Click here to…
Add Placeholder Text to a Text Field – freeCodeCamp Solutions
Set the placeholder value of your text input to “cat photo URL”. <h2>CatPhotoApp</h2> <main> <p>Click here to view more…
Create a Text Field – freeCodeCamp Solutions
Create an input element of type text below your lists. <h2>CatPhotoApp</h2> <main> <p>Click here to view more <a href=”#”>cat…