0

Why is this not working

My code won't work https://code.sololearn.com/WVUIcZd58270/?ref=app

30th Nov 2022, 8:04 PM
Gabriella Robertson
Gabriella Robertson - avatar
4 Answers
+ 4
Just remove the space in your ID and the corresponding ID in CSS. RedText worked for me.
30th Nov 2022, 8:09 PM
Ausgrindtube
Ausgrindtube - avatar
+ 1
Hey, The id or class name must not contain whitespaces like space,tabs etc. Your id has space Not #res text, try #redText
30th Nov 2022, 11:04 PM
Azmi Deliaslan
Azmi Deliaslan - avatar
+ 1
Thanks
1st Dec 2022, 8:06 AM
Gabriella Robertson
Gabriella Robertson - avatar
+ 1
Oh yes ok thank you for the help
1st Dec 2022, 8:07 AM
Gabriella Robertson
Gabriella Robertson - avatar