i have problem with "Challenge: Movie Reviews"
var movies = [
{
title: "Puff the Magic Dragon",
review: "Best movie ever!!"
},
{
title: "Star wars",
review: "No this is the best"
}
];
for (var i = 0; i < movies.length; i++){
fill(84, 140, 209);
textAlign(CENTER, CENTER);
textSize(20);
text(movies[i].title, 200, 100*i+55);
textSize(15);
text(movies[i].review, 200, 92*i+83);
}
so this is the code, i think i did it right. but this message show up"You should multiply the loop variable by the same amount for each text command, so that they're equally spaced out."
idk what i did wrong..
Please sign in to leave a comment.