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 trialMuaaz Matwadia
Full Stack JavaScript Techdegree Graduate 19,327 PointsSVG doesn't change when screen made bigger or smaller
I cant find the error/s:
.graphic{ margin: 1em auto; width: 30%; display:block; }
.star-point, .outer-circle{ opacity: 0;
}
inner-circle{ stroke-opacity:0; }
star{ stroke-width: 0; }
@media only screen and (min-width:30em){ .inner-circle{ stroke-opacity:1; } }
@media only screen and (min-width:40em){ .inner-circle{ stroke-opacity:1; } .star{ stroke-width:4; } }
@media only screen and (min-width:60em){ .star-point{ stroke-opacity:1; } }
1 Answer
T. Gontarek
7,030 PointsAzzie, Did you figure it out? If not: 1) Are the classes applied correctly to the elements? 2) If they are, are they spelled correctly? (I have done this several times!) 3) Check your syntax: It seems that you forgot to add the "." in front of the class. .inner-circle .star
Hope this helped... a bit late.