+ 3

Why is nothing showing up on my page? Help, please.

I'm trying to add a loop to the result of my switch function and it doesn't seem to be working. It's supposed to make the word romance repeat 10 times. https://code.sololearn.com/WHYGKr6omm17/?ref=app

2nd Mar 2018, 8:32 PM
Babydoll Scripts
Babydoll Scripts - avatar
3 Respuestas
+ 12
set this myFunc("Red") after ( or before ) your function , not in :)
2nd Mar 2018, 8:41 PM
Maxımee
Maxımee - avatar
+ 10
you're welcome 🙂
2nd Mar 2018, 8:53 PM
Maxımee
Maxımee - avatar
+ 3
I completely forgot the JavaScript was picky and that little things like this mattered. Thank you.
2nd Mar 2018, 8:51 PM
Babydoll Scripts
Babydoll Scripts - avatar