This was so ridiculous and annoying :(

i can not solve this , so annoying wasted my time . :frowning:

what have you tried? this seems the starting code

also please post your code, not a screenshot (if you use the ask for help buttom it’s done automatically)

1 Like

actually i can not understand the problem either description , but i tried this , not working

// Setup

var myStr = "Jello World";

// Only change code below this line

myStr = "Hello world";

myStr[0];

// Change this line

// Only change code above this line

That’s the answer, use [0] when you want to access something in an array, otherwise since you’re not using a let or const to declare your variable, here you can outright change the value

1 Like

I’ve edited your post for readability. 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 it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

1 Like

doing this myStr becomes Hello world, it should be Hello World (capital W)

the point of this exercise is that you can’t change characters of a string, like it was in the first case - strings are immutable and if you try to do myStr[4] = "e" it throws an error and nothing execute after that point

1 Like

Thanks Leahleen, it solved now.