11. Review


#1


Hello could you help me? I'm kinda tired and can't see what's wrong.


https://www.codecademy.com/courses/javascript-beginner-en-ASGIv/2/4?curriculum_id=506324b3a7dffd00020bf661


Well it gets into infinite loop.


// Write your code below!
text = "1. The Creative’s Guide on Making Art and Money. World-renowned photographer Chase Jarvis and I talked about how creative people can master business for 90 minutes. This video includes word-for-word scripts you can use in negotiations, business, and even personal relationships. You’ll learn some of the material I learned from my top instructors and mentors."
var finder = "negotiations";
var pusher = [];
for (var i = 0; i < text.length; i++){
    if (text[i] === "n"){
        for(var y = i; y < (finder.length + i); y++){
            pusher.push(text[y]);
        }
      } 
    }
     pusher();
var zero=0;
while (zero<10){
    zero++
    }

var number = 0;
do {
    console.log("Logging something");
    }

while (number<10){
    number+5;
    }
.


#2

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