Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Conversation

@Dumie1
Copy link

@Dumie1 Dumie1 commented Jun 19, 2018

I am really sorry for submitting my homework late.

Copy link

@harditsingh harditsingh left a comment

Choose a reason for hiding this comment

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

Good job Dumie! Your code looks very clean and organized. I have some comments though, read below. Best of luck!

});
});
data.forEach(repository => {
const listItem = createAndAppend('option', select);

Choose a reason for hiding this comment

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

The options in the drop-down menu are not sorted

contributorsList.setAttribute('id', 'contributors_preview');

select.addEventListener('change', (event) => {
const newUrl = 'https://api.github.com/repos/HackYourFuture/' + event.target.value;

Choose a reason for hiding this comment

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

You should not put a URL inside a function, this makes it harder to reuse code

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants