Community Thread
Can someone help me?
Its a coding assignment where I can't find the mistake-
9 older comments
maybe sir dan can help idk hes good at coding.
StarryNeptuneOk wtf I was just doing coding a few minutes ago-
I'm behind in class so I don't understand that much, but it might be the way layers are set up or smth.
Try putting each line in different orders, or just mess around with them.
but i also dont wanna waste his time.. hmm
and these are the instructions:
Change the size and color of the cake's top frosting. Its size must be medium and its color must be red. Use the class attribute with a value of "frosting-medium" and "frosting-red" to do this. Hint: You can give more than one value to the class attribute by separating the value with a space (ex: "layer-large decoration-flower").
Change the size and color of the cake's middle frosting. Its size must be medium and its color must be green. Use the class attribute with a value of "frosting-medium" and "frosting-green" to do this.
Add the text "Happy Birthday" as the content of the middle layer.
coding=confusion
StarryNeptuneI have a feeling that the frosting-red part might be the problem.
it said nothing about the frosting being incorrect. just a misspelling or something about the <layers> part
idk this is ligit killing me D':
StarryNeptuneOh.
I want to put spaces somewhere or smth but I dunno if that effects the code.
no it doesnt like i said its a spelling or incorrect something that has something to do with the <layers> part
watch me stuck on this same topic until my quarter ends.
wolfy711ask teacher?
StarryNeptuneI tried using a thingy that checks the code and it found 4 issues with the code lmao
wat where?
StarryNeptuneFree stuff
StarryNeptuneFound 4 issues!
The character encoding was not declared. Proceeding using “windows-1252”.
Code Extract:
Start tag seen without seeing a doctype first. Expected e.g. “<!DOCTYPE html>”.
From line 1, column 1 to line 1, column 6
Code Extract:
<html>↩↩<ca
Element “head” is missing a required instance of child element “title”.
From line 1, column 7 to line 3, column 6
Code Extract:
<html↩↩<cake>↩↩<fr
Element “cake” not allowed as child of element “body” in this context. (Suppressing further errors from this subtree.)
From line 1, column 7 to line 3, column 6
Code Extract:
<html↩↩<cake>↩↩<fr
StarryNeptuneOH YEAH-
The doctype was missing unless that was on purpose or something
I didn't notice that
i cant even include doctype -_-
StarryNeptuneOh.
Please sign in to post a comment