When I run the code the page crashes.

//Remember to make your condition true outside the loop!
var cat = true
var soloLoop = function(){
  //Your code goes here!
  while(cat = true){
      console.log("Looped once!")
      cat = false



Check out your while condition, how should you ask for a comparison? It's a bit different.


Thanks so much that helped a lot.


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