## Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

### Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today. # Why is it printing a list with every second item blank? I cannot figure this one out.

My code is adding items to the lists somehow and I need help figuring out why.

quiz.js
```var asking;
var correct = 0;
var incorrect = 0;
var assessment;
var qAndAs = [
['Who is the All Blacks current captain?', 'richie mccaw'],
['What rank are the All Blacks?', 'first'],
['Where is the next world cup held?', 'england'],
['Who was the previous All Blacks captain?', 'tana umanga'],
['Who won the last world cup?', 'all blacks']
];
var right = [];
var wrong = [];

function print(message) {
var outputDiv = document.getElementById('output');
outputDiv.innerHTML = message;
}

function wRList(arr) {
var wRHTML = '<ol>';
for (var i = 0; i < arr.length; i +=1) {
wRHTML += '<li>' + arr[i] + '<li>';
}
wRHTML += '</ol>';
return wRHTML;
}

for ( var i = 0; i < qAndAs.length; i += 1) {
if ( asking === qAndAs[i]) {
correct += 1;
right.push(qAndAs[i]);
} else {
incorrect += 1;
wrong.push(qAndAs[i]);
}
}

assessment = '<h1>Here is how well you did.</h2>';
assessment += '<p>You answered ' + correct + ' correct and ' + incorrect + ' incorrect.</p>';
assessment += '<h2>You correctly answered.</h2>' + wRList(right);
assessment += '<h2>You incorrectly answered.</h2>' + wRList(wrong);
print(assessment);
```

```wRHTML += '<li>' + arr[i] + '</li>';