Introduction to CSS — Quiz

Answer all 5 questions, then submit. You need 60% to pass. Log in to save progress.

Question 1
In h1 { color: orange; }, what is color?
A The selector
B The property
C The value
D The element
Question 2
Which way of adding CSS is generally best for a whole site?
A Inline style attributes
B An internal <style> block
C An external stylesheet linked with <link>
D Writing CSS inside the <body>
Question 3
Which selector targets every paragraph on the page?
A .p
B #p
C p
D *p
Question 4
How do you write a class selector for class="card"?
A #card
B .card
C card
D *card
Question 5
Which selector should you reach for most, because it's reusable?
A id
B class
C inline style
D element only