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 trialTrue Andrews
Front End Web Development Techdegree Student 10,520 PointsHow I'm I suppose to format this code with the ampersand?
I don't know how I'm suppose to be using the & symbol.
.banner {
padding: 1em;
background-color: lightgrey;
.button {
font-size: 1.5em;
}
}
.icn {
font-size: 1.25em;
.icn-success {
color: green;
}
}
1 Answer
furkan
11,733 PointsThe ampersand can be used along with codes to insert special characters into your html document. For example: & copy ; (without spaces) will place a copy right logo.
You can visit this link for a list of special entities: https://www.w3schools.com/html/html_entities.asp