- 1

Pls i need help with the contact manager in JavaScript

6th Dec 2020, 12:38 PM
Mister Kwao
Mister Kwao - avatar
11 Respuestas
+ 2
Vigilant Kwao Where is your attempts.
6th Dec 2020, 12:56 PM
A͢J
A͢J - avatar
+ 2
Vigilant Kwao Your code.
6th Dec 2020, 1:29 PM
A͢J
A͢J - avatar
+ 2
Vigilant Kwao According to your code you need to learn JavaScript first otherwise you can't solve any problem ever.
6th Dec 2020, 1:48 PM
A͢J
A͢J - avatar
+ 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.
6th Dec 2020, 2:14 PM
A͢J
A͢J - avatar
+ 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
7th Dec 2020, 8:47 AM
Coal
- 1
Pls what attempts
6th Dec 2020, 1:25 PM
Mister Kwao
Mister Kwao - avatar
- 1
if(increase=prices){ console.log(prices); return increase ; }
6th Dec 2020, 1:31 PM
Mister Kwao
Mister Kwao - avatar
- 1
I have completed the JavaScript course on sololearn
6th Dec 2020, 1:49 PM
Mister Kwao
Mister Kwao - avatar
- 1
And they recently added the projects.... I have been able to solve 3 out 6
6th Dec 2020, 1:50 PM
Mister Kwao
Mister Kwao - avatar
- 1
Kk
6th Dec 2020, 2:45 PM
Mister Kwao
Mister Kwao - avatar
- 1
But can u please give a solution to code coach problem
6th Dec 2020, 2:46 PM
Mister Kwao
Mister Kwao - avatar