17. nth child



Oops, try again. Did you remember to make the second paragraph's font-family Tahoma?

I've tried to write it again but it didn't work. I can't see any mistakes in the code.

p:first-child {
    font-family: cursive;

p:nth-child(2) {
    font-family: Tahoma;

p:nth-child(3) {
    color: #CC0000;

p:nth-child(4) {
    background-color: #00FF00;

p:nth-child(5) {
    font-size: 22px;


This passes for me. Could you post the full HTML and CSS code please?


<!DOCTYPE html>
		<link type="text/css" rel="stylesheet" href="stylesheet.css"/>
			<p>I'm the first child!</p>
			<p>We're not.</p>
			<p>We're not.</p>
			<p>We're not.</p>
			<p>We're not.</p>
			<p>We're not.</p>
			<p>We're not.</p>			

CSS is above


This code passes perfectly for me... I don't know what the problem is :confused:

Try using another browser for this exercise.


OK. I manually installed Tahoma font on Ubuntu and it's working now.

Thank you for your answers :slight_smile: