FAQ: Mixins and the & Selector - The & Selector in Nesting

This community-built FAQ covers the “The & Selector in Nesting” exercise from the lesson “Mixins and the & Selector”.

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

Learn Sass

FAQs on the exercise The & Selector in Nesting

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!

When it says

Recall that, in CSS, a pseudo-element is used to style parts of an element, for example:

  • Styling the content ::before or ::after the content of an element.
  • Using a pseudo class such as :hover to set the properties of an element when the user’s mouse is touching the area of the element.

Is this referring to something in the last CSS section on Grids? I’ve been through the rest of ‘Introduction to HTML’ and ‘Learn CSS’ this week and I don’t recall anything about pseudo classes. (Unless I skimmed around it somewhere…?)

1 Like

What is @include? Is this part of SASS syntax?

1 Like

Okay, I realize that this will be answers in the following lessons. But that should be mentioned in the instruction…

2 Likes

https://www.codecademy.com/courses/learn-sass/lessons/mixins-and-parent-selector/exercises/parent-selector

Typo alert: psuedo should be pseudo

Is it possible to loop through each character to flip it?