r/CodingHelp • u/Chonkman47 • Aug 20 '21
[HTML] Am I missing something here? Why isn’t the paragraph going blue?? Xd
59
24
15
u/IAmTarkaDaal Aug 20 '21
Pretty sure the styles should be in one single quoted string, not two.
0
u/newblord88 Aug 21 '21
It should be double quotes not single
2
u/ultimattt Aug 21 '21
Both attributes are quoted individually. They should be quoted as part of the same string.
4
Aug 21 '21
[removed] — view removed comment
3
u/Xiol Aug 21 '21
It can be read both ways. "a single double-quoted string" would have removed ambiguity.
5
4
u/jsontypes Aug 20 '21
i almost didn’t see it at first. hate in-line styling very easy to mess something up.
2
3
1
-1
9
u/Chonkman47 Aug 20 '21
Ah yes thanks for the help that makes sense now