+ 1

I need help in javascript. This is my attempt to solve it There is an error that I cannot correct

This is my code https://code.sololearn.com/WavJ1ZsW30RV/?ref=app And this is the drive containing the exercise The exercice ask to write just the 3 function All the explaination in this drive https://drive.google.com/file/d/1IKgThLR6UybeYXpYsNqOLCtkafOKMphq/view?usp=drivesdk

12th May 2022, 4:22 PM
Kahoul Abd el madjid
12 Answers
0
Your code is incomplete? The last function is not closed, for instance.
12th May 2022, 4:25 PM
Lisa
Lisa - avatar
0
Lisa my bad I did not copy it from the computer well. The defect is in displayChannels()
12th May 2022, 5:25 PM
Kahoul Abd el madjid
0
One issue is that your use unescaped quotation marks inside the string: Error: "hello "world"." Correct: "hello \"world\"." 'hello "world".'
12th May 2022, 5:29 PM
Lisa
Lisa - avatar
0
Lisa where
12th May 2022, 5:51 PM
Kahoul Abd el madjid
0
It is your code, you kommt where you have strings. Look at the displayChannels() function...
12th May 2022, 5:54 PM
Lisa
Lisa - avatar
0
How about now Lisa
12th May 2022, 7:25 PM
Kahoul Abd el madjid
0
You didn't fix line 16, the strings are still incorrect
12th May 2022, 7:27 PM
Lisa
Lisa - avatar
0
How about nowLisa
12th May 2022, 9:57 PM
Kahoul Abd el madjid
0
Test your code and see if it still gives errors...
12th May 2022, 9:59 PM
Lisa
Lisa - avatar
0
No erreur the only thing is the function switchchannel is not working Lisa
12th May 2022, 10:01 PM
Kahoul Abd el madjid
0
I put her in option onclick and that didnt workLisa
12th May 2022, 10:01 PM
Kahoul Abd el madjid
0
It's normal
13th May 2022, 10:18 PM
Leul Weldamichale