LinkedIn CSS Skill Assessment Quiz Answers

In this example, what color will Paragraph 1 be?

Latest Update on 23rd March, 2022 by Certification Course Answers

In this example, what color will Paragraph 1 be?

p:first-of-type {
  color: red;
}
p {
  color: blue;
}
.container {
  color: yellow;
}
p:first-child {
  color: green;
}
<div class="container">
  <h1>Heading</h1>
  <p>Paragraph1</p>
  <p>Paragraph2</p>
</div>
  1.  blue
  2.  green
  3.  red
  4.  yellow

Correct Answer:

  •  red

Latest Updates

No posts found in this category.