debug for HTML/CSS in Codecademy -


here's i'm stuck: i'm having trouble nth-child statement. here's html , css. i'm in "css selectors 23/23" lesson of codecademy , can't advance until figure out:

html: <body> <h3 class="fancy">blah blah blah </h>  <p class="fancy">blabbidy blah</p>  <p id="serious">bling bling</p>  <p> problem child</p> </body>  css: body :nth-child(4) { font-size: 26px; } 

the body:nth-child(4) selector selects fourth sibling of body - there none of. want selecting p element instead. notice there shouldn't space between element-selector , pseudo-selector. finally, h3 element isn't closed correctly.

maybe somehting after:

p:nth-child(4) {    font-size: 26px;  }
<body>    <h3 class="fancy">blah blah blah </h3>    <p class="fancy">blabbidy blah</p>    <p id="serious">bling bling</p>    <p>problem child</p>  </body>


Comments

Popular posts from this blog

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -