Why this still not working | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
19th May 2020, 10:05 PM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
11 Answers
19th May 2020, 11:18 PM
Ore
Ore - avatar
+ 5
since you use xy === 0 and xy === 5 you don't need the other condition. or leave only the second condition line 17 should look like this i think: if(xy === 0 || xy<=4) { and line 20 should look like this i think: else if (xy === 5 || xy <= 8) {
19th May 2020, 10:12 PM
Sebastian Pacurar
Sebastian Pacurar - avatar
+ 5
Sebastian Pacurar No need to beat yourself up we are all human...😉
19th May 2020, 10:37 PM
ODLNT
ODLNT - avatar
+ 4
ODLNT oh my god... now i see what stupidity i just did there... really sorry about that, tiredness struck me 🤦 edited...
19th May 2020, 10:32 PM
Sebastian Pacurar
Sebastian Pacurar - avatar
+ 2
Sebastian Pacurar thank u its has fixed and main problem not yet
19th May 2020, 10:17 PM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
+ 2
Muhamad Luthfi What exactly are you trying to achieve?
19th May 2020, 10:29 PM
Ore
Ore - avatar
+ 2
Ore Adeleye I mean second box should show automaticaly the category of value displayed in 1st, like: primary will be displayed if 1st box filled by red, white, yellow, blue, and also secondary for the other values
19th May 2020, 10:50 PM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
+ 2
Sebastian Pacurar Take it easy bro ☺
19th May 2020, 10:51 PM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
+ 1
Ore Adeleye thanks, I found out now and i'll try it
19th May 2020, 11:28 PM
Unknown Ambusher 🗡️
Unknown Ambusher 🗡️ - avatar
+ 1
Just use internal javascript Put all D code in ur html before D closing body tag I think learn solo learn connected its js at D top which will make it impossible fr DOM manipulation to work... .. ..
21st May 2020, 9:39 PM
kabir mohammed kayode
kabir mohammed kayode - avatar
- 3
Hi everyone
20th May 2020, 3:19 PM
Falilatou Adam