Question: If I didn't initiate the iterators *i* and *j* with zero's this is what happens. The compiler does initiate them by zeros but somehow the child loop didn't proceed with iterating. Any interpretation for that?

I already found the solution but I am asking about what could be the reason behind this?

```
void sortById(int *arr,  int size){
    for (int i; i<size; i++){
        cout << "i = " << i << "\n" ;
        for (int j; j<size; j++){
            cout << "j = " << j << "\n";
        }
     }
}

int main(){
int Ids[5] = {15,3,1,10,25};
int size = 5;

sortById(Ids, size);
}

//Output:
i = 0 
j = 0 
j = 1 
j = 2 
j = 3 
j = 4 
i = 1 
i = 2 
i = 3 
i = 4

```

Answer: 
You need to pass `rgb` as well with the values.

Try the below solution.

```
scheme.forEach(colour => {
  console.log(colour) // successful data collected
  const column = document.createElement('div')
  column.setAttribute('class', 'column')

  app.appendChild(column)
  column.style.backgroundColor = `rgb(${colour})`
})

```
Instead of passing array as a color you should create a `rgb()` string with elements from that array. You could create a function for this.

```js
const div = document.querySelector('div');
const rgb = color => `rgb(${color.join(', ')})`
div.style.backgroundColor = rgb([50, 200, 50])
```

```html
<div>Div</div>
```