Week 2 Homework
What do we use CSS for?
To add HTML elements to the page
To style HTML elements on our page
Write a piece of code that would select all h1 tags on the page and make their font size 20 pixels
Write a piece of code that would select all ordered lists on the page and give them a red border
Scenario: I want each HTML element on the left side of the page to have the same font size. Would I give each of these HTML items a class or ID?
Write a paragraph HTML element that has a class of "adText"
Bonus: Create a blog for your pet in codepen with different size and color text, at least one list in a border and a title that has a different font than the rest of the page. Copy your code into the space below!
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google.
Terms of Service