LinkedIn CSS Skill Assessment Quiz Answers

In the following example, what color will paragraph one and paragraph two be?

Latest Update on 9th March, 2022 by Certification Course Answers

In the following example, what color will paragraph one and paragraph two be?

<section>
  <p>paragraph one</p>
</section>

<p>paragraph two</p>
section p {
  color: red;
}
section + p {
  color: blue;
}
  1.  Paragraph one will be blue, paragraph two will be red.
  2.  Both paragraphs will be blue.
  3.  Paragraphs one will be red, paragraph two will be blue.
  4.  Both paragraphs will be red.

Correct Answer:

  •  Paragraphs one will be red, paragraph two will be blue.

Latest Updates

No posts found in this category.