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 trialTarik Fahlane
1,804 PointsWhere is namecard-login class in CSS file? It is used in app.pug.
In the app.pug file a class namecard-login is used for a div. I cannot find this class in the CSS file. Did I miss something?
2 Answers
KRIS NIKOLAISEN
54,971 PointsI downloaded the the project files. In style.css at line 88 is the following:
.namecard-login {
display: -ms-flex;
display: -webkit-flex;
display: flex;
align-items: center;
border-bottom: solid 2px #EDEAD9;
padding: 5px 20px;
text-align: left;
}
Is that what you are looking for?
Andrii Kodola
Full Stack JavaScript Techdegree Student 16,870 PointsThe first div in app.pug has to have such class instead of the one in the video.