for this point Give the element with a class of alert a 1px grey border.
your way only set the size of border border:1px; but you should provide the style also as the defualt style is none
so give the border style and width and grey color
for step 3 If the element with a class of alert also has a class of stop, make the background red. If the element with a class of alert also has a class of go, make the background green.
it ask you if the element has class alert and stop and not or
so it should be .alert.stop not .alert , .stop same thing for the other one
border
When using border you should always define the width, style and color. Using just the width won’t work, because style defaults to none (no border). For this exercise the solid style would work. Can you guess the correct value for border?
overridden background
The comma in your selectors mean: “Either the first class or the second class”. We need a selector that says: “The first class and the second class”. This can be achieved by directly writing the second class after the first class (without a space or other characters. For example .first.second means: “The elements must have class firstand class second to have the CSS applied.”
If you like you can update your CodePen and I will have another look
Thank u very much @mikoMK and @justsomeone,
Both are helping me in every way possible, every single suggestion is invaluable, learning a lot through you both,Thank u again.
And i did the required corrections, It worked, Thank you.