Link to sectionExample

by krishna chaitanya nalluri

HTML

<!-- Learn about this code on MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/:not -->

<p class="fancy" id="fancy2">I am a paragraph.</p>
<p class="fancy" id="fancy1">I am so very fancy!</p>
<div>I am NOT a paragraph.</div>

CSS

p{
  color:red;
}

/* <p> elements that are not in the class `.fancy` */
p#fancy1 {
  color: green;
}