Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Why is my Lake Tahoe showing as orange but on the video it is white

Here is my CSS - what is wrong? /* Type Selectors */

/*

This helpful comment spans mulitple lines..... ..... */

body { color: #878787; margin: 0;
font-size: 1em; }

h1 { font-size: 5.625rem; /* 90px / 16px */ color: rgba (255, 255, 255, .5);
} h2 { font-size: 53px;
} h3 { font-size: 20px; color: #48525c;
}

/* ID Selectors */

main-footer {

padding-top: 60px;
padding-bottom: 60px;
border-bottom: solid 10px #ffa949;

}

/* Class Selectors */

.main-header { background-color: #ffa949;
}

.title { color: white; font-size: 1.625rem; /* 26px/16px */ }

.primary-content, .secondary-content { width: 60%;
} .primary-content, .main-header { text-align: center;
}

.t-border { border-top: 2px solid lightgrey;
}

/* Pseudo-classes ------------------ */

a:link{ color: rgb(255, 169, 73);
}

a:visited { color: lightblue;
}

a:hover { color: rgba(255, 169, 73, .4);
}

a:active { color: lightcoral;

}

a:focus { color: white; background-color: orange;
}

2 Answers

color: rgba (255, 255, 255, .5);

There is a space between 'rgba' and '(225,255,255,.5);' creating a syntax error.

Thanks Callum, so simple

Miriam