0
Popsicle code coach js
Hi all, I just started learning js. Tried the challenges in code coach but it doesn't have the js option. So I posted as web in in 'code' tab. Is my code ok? let siblings = prompt("Please enter the number of siblings:"); let popsicles = prompt("Please enter the number of popsicles:"); if ((popsicles / siblings)%2==0) { console.log("give away"); } else { console.log("eat them yourself"); }
2 Antworten
0
I think it’s ok if you write it in js part of web.
0
thanks. but code coach in solo learn doesnt have the web option either.