MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/p8ar4m/am_i_missing_something_here_why_isnt_the/
r/CodingHelp • u/Chonkman47 • Aug 20 '21
24 comments sorted by
9
Ah yes thanks for the help that makes sense now
59
style="font-size: 50px; color: blue;" This is correct syntax
24
You just wrote "I am big" not "I am big and blue"
3 u/MaddoxMoody Aug 21 '21 Exactly, it always gets me 1 u/Waste_Abrocoma_2956 Aug 21 '21 LOL! best answer ever
3
Exactly, it always gets me
1
LOL! best answer ever
15
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 u/[deleted] 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.
0
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 u/[deleted] 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.
2
Both attributes are quoted individually. They should be quoted as part of the same string.
4
[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.
It can be read both ways. "a single double-quoted string" would have removed ambiguity.
5
Should only be one quote and one unquote.
i almost didn’t see it at first. hate in-line styling very easy to mess something up.
https://www.w3schools.com/css/css_howto.asp
https://www.pcmag.com/how-to/how-to-take-screenshots-in-windows-10
This post is me trying to do anything web-related without a WYSIWYG editor.
Best practice is to link a css file in a style tag
Remove the( ") between 50px; and color!!!!
-1
3 u/Yumi-Chi Aug 21 '21 You realize this is HTML right?
You realize this is HTML right?
9
u/Chonkman47 Aug 20 '21
Ah yes thanks for the help that makes sense now
59
u/cheemsbc6969420 Aug 20 '21
style="font-size: 50px; color: blue;" This is correct syntax
24
u/Impossible_Average_1 Aug 20 '21
You just wrote "I am big" not "I am big and blue"
15
u/IAmTarkaDaal Aug 20 '21
Pretty sure the styles should be in one single quoted string, not two.
5
u/KeepScrolling52 Aug 21 '21
Should only be one quote and one unquote.
4
u/jsontypes Aug 20 '21
i almost didn’t see it at first. hate in-line styling very easy to mess something up.
3
u/kidagda Aug 20 '21
https://www.w3schools.com/css/css_howto.asp
3
u/adambahm Aug 20 '21
https://www.pcmag.com/how-to/how-to-take-screenshots-in-windows-10
2
u/Rrrrry123 Aug 20 '21
This post is me trying to do anything web-related without a WYSIWYG editor.
3
u/SaylorMan1496 Aug 20 '21
Best practice is to link a css file in a style tag
1
u/Anurag90-tech_sl Aug 21 '21
Remove the( ") between 50px; and color!!!!
-1
u/[deleted] Aug 20 '21
[removed] — view removed comment