10. To learn it, you gotta 'do' it


I stuck with this one, do any one know why?
Thank you so much

var dotCom = true
var getToDaChoppa = function() {
// Write your do/while loop here!
do {
console.log("do do do");
while (dotCom); {
console.log("I'm learning while loops!");
dotCom = false


Replace this line with your code.


do while syntax:

// declare condition variable

// the do while loop
do {
  // what ever the loop is doing

} while(condition);

your code doesn't match this syntax


got it, thank you so much


i am impressed, most people who i give instructions on where they go wrong, immediately come back with other problems they have found (even if i already covered those), so i am impressed, well done

in a vague way, this was intended as compliment :stuck_out_tongue:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.