Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
At time. 5:20. Normal_css is used for 2 wp_enqueue statements. Why ?
Wp_enqueue_style uses the same name 2x. Normalize_css is used for both Normalize.css and also the google fonts link copied from @import.
Question. Why are two of these enqueue statements allowed to use the same 'name' ?
Zac GordonTreehouse Guest Teacher
Yup, as you saw, just a mistake that gets corrected when we circle back to the CSS once it's loading in the header :)
Bob Sutherton20,160 Points
Yeah, I got hung up here too. I was trying to load a google font into my own site and it wasn't working. When I saw this and changed the name of the file it started working. I had started to give it its own name but when Zac named it the same I followed suit. Haha!