- 1
Pls i need help with the contact manager in JavaScript
11 Respuestas
+ 2
Vigilant Kwao Where is your attempts.
+ 2
Vigilant Kwao Your code.
+ 2
Vigilant Kwao
According to your code you need to learn JavaScript first otherwise you can't solve any problem ever.
+ 2
Vigilant Kwao Just completing the course is not important. You need to do lots of practice.
According to your code I can see that you don't know what is assignment operator and what is equal operator.
In if condition you are just assigning the value not comparing the value.
+ 2
Vigilant Kwao according to your code, you need to have it as:
if(increase == prices){
console.log(prices);
return increase;
}
Two notes:
1- You used a single equal sign (=) but that means assign value. You need to use (==) for checking if value is equal to.
2- return only works in a function so if your if statement isn't in a function then that's useless
- 1
Pls what attempts
- 1
if(increase=prices){
console.log(prices);
return increase ;
}
- 1
I have completed the JavaScript course on sololearn
- 1
And they recently added the projects.... I have been able to solve 3 out 6
- 1
Kk
- 1
But can u please give a solution to code coach problem