LinkedIn CSS Skill Assessment Quiz Answers

Given this markup, which selector would result in the text being highlighted in yellow?

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

Given this markup, which selector would result in the text being highlighted in yellow?

<span class="highlight">#BLM</span>
  • [ ]
.highlight {
  background-color: yellow;
}
  • [ ]
#highlight {
  background-color: yellow;
}
  • [x]
.highlight {
  color: yellow;
}
  • [ ]
#highlight {
  color: yellow;
}

Correct Answer:

  • [x]
.highlight {
  color: yellow;
}

Latest Updates

No posts found in this category.