Learn String Manipulation by Building a Cipher - Step 2

Tell us what’s happening:

I deleted my number variable and it’s value already, but it keeps asking me to delete so, i don’t understand. can someone kindly explain it to me please?

Your code so far


/* User Editable Region */

text'hello world'text

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

Challenge Information:

Learn String Manipulation by Building a Cipher - Step 2

This isn’t how you assign a value to a variable.

Double check what your code looked like before you deleted the other variable

May i know what is the variable here?

Then, declare another variable called text and assign the string Hello World to this variable.

Looks like the instructions say the variable you should have is called text

My latest attempt looks like this: text = ‘Hello world’
But it says that my code is not correct again.
You should assign the string Hello World to your text variable.
what does it mean?

Can you post again the whole code?

text = ‘Hello world’

all the code please, not just that line, all the code. click in the editor, press Ctrl+A, then Ctrl+C, and here in the forum paste with Ctrl+V in a new post

To be fair, that’s the only line you need in step 2.

Did you use the right quotes around your string Donnnyyy? (look at which one are used in the example)

To be fair, other stuff in the editor can break the test suite :upside_down_face:

No but my point is, there’s a high chance that is his entire code, as that’s the only line that should be there.

It may or may not be. Which is why clarification was requested

Make sure your capitalization exactly matches.

yea thank you!!! great help!!!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.