FAQ: Your First Sass Stylesheet - Nesting Properties

This community-built FAQ covers the “Nesting Properties” exercise from the lesson “Your First Sass Stylesheet”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Learn Sass

FAQs on the exercise Nesting Properties

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head here.

Looking for motivation to keep learning? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

does anyone else have problems with the parser to not read your answer properly even though you type it seemingly right word for word?


I type the exact same code and it gives me this error:

Am having the same issue, did you resolve the issue. This is the second question doing this.

It’s obviously bugged. Garbage exercise that did not have any form of a testing process. I’m just gonna find another sass tutorial, like https://marksheet.io/sass-scss-less.html.


i also have similar problem…but i copy the exact solution then it show correct…

1 Like

same here!
SERIOUSLY codecademy ??? YOU keep us learning and paying for this course???

1 Like

I have recently experienced the same problem with this Sass nesting properties exercise: my scss code compiles correctly in css but I get an error message. People have been complaining for months about this bug and It is pretty unprofessional that it has not been fixed yet.

1 Like

The bug everyone here talks about seems to have been fixed by now. The following code

.banner {
  border: {
    top: 4px solid black; 
    bottom: 4px solid black;
  font-family: 'Pacifico', cursive;

didn’t return any error.

The tutorial’s example includes a CSS property called font-decoration. As far as I understand, there is no such property… It should be text-decoration. But then

.parent {
  font : {
    decoration: none;

shouldn’t be compiled to

.parent {
  text-decoration: none;

or should it?

I don’t really see the merit of nesting properties.

border : {
    top: 4px solid black;
    bottom: 4px solid black;

doesn’t look much simpler than the equivalent CSS code of

border-top: 4px solid black;
border-bottom: 4px solid black;

especially if you write CSS properties in the alphabet order as Google recommends.

Do I miss something?

The exercise is still messy.

Still producing the same error. I can’t proceed with this exercise.

1 Like

This course is completely broken. What a joke.

1 Like

Yes also getting the same issue, I even copied and pasted the solution over to double check I was not being stupid. Recent months Codecademy has been producing a lot of these little bugs. Looks like I will be going back to YouTube!

3 years later and the issues still persists… And we are paying for this course, can you fix this please?