## Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

### Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

# Bummer! You need to log out EVERY number from 4 to 156 to the console. Your loop calls the console.log() method 39 times

What I am doing wrong?

Create a for loop that logs the numbers 4 to 156 to the console. To log a value to the console use the console.log( ) method.

var number = 4;

for ( var i = 4; i <= 156; i += 4 ) { console.log( number ); number += 1; }

script.js
```var number = 4;

for ( var i = 4; i <= 156; i += 4 ) {
console.log( number );
number += 1;
}
```

I did in Workspace. Sorry, I copied and pasted wrong. What stuff I did.

var number = 4;

for ( var i = 4; i <= 156; i += 4 ) { console.log( number ); number += 4; }

```for( var i = 4; i <= 156; i+=1){
Hi there! I feel like you're doing pretty well, but you've set up a `number` variable outside your for loop. Inside the `for` loop you're then echoing out `number` and increasing it by 1. The `number` variable is not needed at all. You're meant to be logging out the value of `i`. The value of `i` is increasing every iteration by four instead of by one.