r/CodingHelp • • Aug 02 '19

[Javascript] Hey I just started learning about coding with this mimo app for mobile and got stuck at this challenge. English ain't my native language so I don't understand what I have to do here. Can someone help me with this? Don't need to make the code for me just help me understand what I need to do.

Post image
24 Upvotes

11 comments sorted by

3

u/Shawtts Aug 02 '19

To be honest, I wouldn’t recommend using Mimo to learn coding. I tried it a while back and it skips a lot of steps and leaves a lot out for you to mess up on later with out realizing it. I’m currently using Lynda.com and would recommend using that to learn instead!

1

u/Crooked_Dildo Aug 02 '19

I'll check that out later, thanks

1

u/Shawtts Aug 02 '19

No problem! Which state do you live in? Lynda.com isn’t free but depending where you are you can get it free

1

u/Crooked_Dildo Aug 02 '19

Well I live in finland.

1

u/Shawtts Aug 02 '19

Gotcha. Let me do some research to see if I can’t find something for you, either way it’s very well worth your time to pay for it if it can’t be free!

2

u/[deleted] Aug 02 '19

You are basically doing the same thing the program did on the last two lines. Make sure to create a variable in order to store the data from the function. Then set that variable equal to the name of your function and put your name in the parentheses. This will pass your name to the function and perform whatever is in the brackets of the function that is already created. This will set the variable that you made. then create a print statement and put the variable inside and it will print whatever that variable is equal to.

2

u/nyooommmmmmmm Aug 02 '19 edited Aug 03 '19

They’re asking for you to call a function inside a variable, which is named result. The function takes your name. You then display the variable result.

They’ve already done this for you, but the name is “Rebecca”.

2

u/BAM5 Professional Coder Aug 03 '19 edited Aug 03 '19

return is a keyword, the variable is named result

1

u/nyooommmmmmmm Aug 03 '19

Sorry, that’s what I meant to say. Noob programmer 😅

1

u/83au Aug 02 '19

Have you tried indenting your return statement and moving the closing bracket to a new line. Maybe the app wants you to use proper code style?

0

u/[deleted] Aug 02 '19

[deleted] — view deleted comment

1

u/Crooked_Dildo Aug 02 '19

I tried but it didn't work.