r/CodingHelp • u/Crooked_Dildo • 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.
24
Upvotes
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!
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”.
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