Skip to content

Conversation

@JensBergqvist
Copy link

No description provided.

Copy link

@Katarina821 Katarina821 left a comment

Choose a reason for hiding this comment

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

Hi Jens! Great job this week and good work solving the commits issue! Your code is clean and easy to follow, nice structured with the different functions for the commits. Nicely done:)!

picture = data.avatar_url
let profilePicture = `<div class = "profile"><h1>${username}</h1> <img class = "photo" src="${picture}" />
</div>`;
return (projects.innerHTML = profilePicture)

Choose a reason for hiding this comment

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

Interesting solution with the variable and the the returnstatment, tought me something new!

</div>
`

Choose a reason for hiding this comment

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

Maybe here you could look over your structure a bit and remove blanks space so that it follows codeguidlines

fetch(commits)
.then(response => response.json())
.then(data =>{
document.getElementById(`${myRepoName}`).innerHTML += data.length

Choose a reason for hiding this comment

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

You solved it, good job:)!!

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