Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Nouransaeed
Copy link

week 3

@@ -1,11 +1,122 @@
'use strict';

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like an extra space here. In fact, I think there looks like to be lots of strange spacing. Can you run prettier on your files so they fix the formatting issues?

}

document.body.appendChild(ul);
document.body.onload = listBooks;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, Think you'll have to do Prettier for everything. See how the indentation is off here?

li.textContent = title[i];

ul.appendChild(li);
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this actually adding elements to the screen. Do you see anything on yours? You have to then add the ul to the DOM.

'use strict';

'use strict';
{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This opening bracket will cause problems...



</body>
</html>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange spacing here too


function doubleOddNumbers(numbers) {

numbers = numbers.filter(num => num % 2 === 1).map(num => num * 2);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job! But there seems to be many blank lines above and below. Can you delete?

@@ -0,0 +1,133 @@

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strange spacing in this file too. Too many blank lines. Needs Prettier formatting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants