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 () 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 () below!
You can also find further discussion and get answers to your questions over in Language Help.
Agree with a comment or answer? Like () to up-vote the contribution!
I don’t get it either. What’s the point?
But it seems that Codacedamy has noticed the problem but hasn’t come up with a proper solution.
So you’ll see the solution presented after you click on the “refresh” button in the editor.
all I can think of is the importance in which the styling should be applied, in case they both different elements. for example, if button-primary and button-small have padding styles- then it would apply button-primary over button-small. i’m not 100% sure on this, but that’s where my logic goes since i had the same idea “just add button-primary to the class” and got the same error.
I’m almost positive it’s the same. Maybe it’s more desirable to list your classes alphabetically or maybe it’s because of something with the way the styles cascade or whatever but the code renders exactly the same in either case. And if I’m thinking correctly the order in which the padding was applied wouldn’t be based on where it was put in the HTML file but rather where it was put in the CSS file. If button-primary was closer to the top on the CSS it would take precedence (or maybe it’s the other way around I forgot) over button-small. Since they have the same specificity and are targeting the same element with the same property the precedence is determined by where it is in the document I believe. But as far as I’m aware the order the classes are put into an element on the HTML doesn’t make a difference. I may be wrong.
Both orders worked for me. Background colors were changed for all the required buttons but I’m still unable to finish the exercise because the course didn’t except what I did.
Same here I’ve got the right solution but I can’t submit it. Seems incorrect
Update: I went to “Get unstuck” in the top right corner.
There I went to the solution Code.
It was the exact same code but when I pressed replace my Code with the solution it did work for me.
If someone is stuck here just do this until the bug is fixed.
I ran into the same issues, and also found that on the submit button you can literally copy and paste the code they tell you to use and it’s still wrong.
Shouldn’t have to “View Solutions” and “replace my code” to move forward with the lesson.
Will flag staff and see if we can get it fixed after all this time LOL