I tried this code
Still getting the error and couldn’t figure it what was my mistake?


We can’t see your code because it’s stored locally on your browser. You’ll have to copy it from the editor and paste it in the forum. Note that when you enter a code block into the forum, precede it with a line of three backticks and follow it with a 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.



Capital letter.

Also, screenshots are harder for mobile users to read. @PortableStick’s advice for forum code formatting is helpful to those you want to help you :slight_smile:

Happy coding!