Can someone help me ? I balked


#1

hello I'm not managing to move from lesson 19.
Can someone help me ??


#2

Hi @corepro78286

What's wrong ?


#3

I can not understand what it is to do.
already I put the if / else, but keep talking that this misses the: '(


#4

Show me your code, I'm going to try and see what's wrong.


#5

if ("Jon".length * 2 / (2+1) ===)
{
console.log("A resposta faz sentido!");
}
else {
console.log("erro erro erro ");
}


#6

if ("Jon".length * 2 / (2+1) === 0 )
                                 ^

Maybe?


#7

It lacks some characters in your if condition :

if ((("Jon".length * 2) / (2+1)) === 2)

#8

thanks,brother..........................


#9

I confess I have difficulty. But I have a very great thirst to learn, I want to be a master in this art, but need help to learn.
I do not have every day at a computer, there is hard to learn.
When I have time, I come to the library to try to learn something.


#10

It's the same for me :hand: Take your time to learn my friend


#11

sorry, I did not understand WHAT you mean


#12

now I balked at 23: '(
// Use console.log () to display the substring.
// Here is an example from the first until the fourth letter of "JavaScript":
// Console.log ("JavaScript" .substring (0.4));
console.log ("January" .substring (0.3));
console.log ("Melbourne is excellent" .substring (0.11));
console.log ("hamburgers" .substring (3.10));


#13

You have to put your string in variable

var text1 = "January";
var text2 = "Melbourne is excellent";
var text3 = "hamburgers";

console.log(text1.substring(0,3));
console.log(text2.substring(0,11));
console.log(text3.substring(3,10));

#14

I was stuck 2. Thanks!