Can anyone explain why it's not running?

It seems I’ve done everything right, but it’s not going to work

Look at the { right above your red box you added to the screenshot. Does that look right to you?

1 Like

You have an extra {. In the future, please share your code as formatted text instead of a screenshot. It is much easier for us to read and understand that way.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make easier to read.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.


Oh, thank you! It seems I should take some rest…