Ask coding questions

← Back to all posts
Username543210 (16)

Why does the game and to-do list not work? (game.htmal and todolist.html)

Answered by Coder100 (18176) [earned 5 cycles]
View Answer
Coder100 (18176)


in todolist.html

what were you thinking?

for(var i = 0; i < list.children.length; i++) {
Coder100 (18176)

Working repl:

the game is a bit broken, you will have to fix that yourself, or tell me what you are even trying to do

Coder100 (18176)


in game.html

please, remove typos.

Also this is invalid syntax and typo:

do you need to take a css tutorial?

    .character {
      background: url('Guest.png');

There cannot be spaces in units:

Username543210 (16)

thanks! and I'm just learning html, css and js @Coder100, so pls don't judge

Coder100 (18176)

lol sorry for sounding toxic
good luck! @Username543210