Skip to content

Conversation

@emmajosefina
Copy link

type: 'bar',
data: data,
options: {
responsive: true,

Choose a reason for hiding this comment

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

Did you want the chart to cover the page from side to side? Because the size of the chart is good for mobile size but displays quite big in desktop size.

Copy link
Author

Choose a reason for hiding this comment

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

Thanks for noticing Ida! I thought about that too and want to change it for desktop. Do you know which element to add in that case?

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

Oh, thanks! I got a 404 though :(

@@ -0,0 +1,2 @@
// .gitignore file

Choose a reason for hiding this comment

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

Good job with gitignore!

<title>Project GitHub Tracker for emmajosefina</title>
<link rel="stylesheet" href="./style.css" />

<!-- GOOGLE FONT-->

Choose a reason for hiding this comment

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

I like that you explain what these do!

<h2>Projects:</h2>
<main id="projects"></main>
<header class="navbar">
<a href="https://github.com/emmajosefina">

Choose a reason for hiding this comment

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

Smart and simple to put the profile name in html


<footer>
<p>
<a href="https://www.linkedin.com/in/emmalindell4/" class="fa fa-linkedin fa-2x"></a>

Choose a reason for hiding this comment

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

Looks good! Maybe for accessibility make them easier for a screenreader to explain?

Copy link
Author

Choose a reason for hiding this comment

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

Great thanks, will think about it for this week's project

code/script.js Outdated
<p class="username">${data.login}</p>
</section>
<div class="status-box">
${data.bio} 👩‍💻

Choose a reason for hiding this comment

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

Nice touch with the emoji!

<div class="projectContainer">
<p class="smallerContainer">
<span class="header-project">
${repo.name.replace('project-', '').replace('-', ' ')}
Copy link

@idanaslund idanaslund Feb 28, 2022

Choose a reason for hiding this comment

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

Really nice removing "project" and the hyphens, I never got around to that myself. It also makes it more visible that the repos ar displayed alphabetically.

</p>
<p class="smallerContainer">
<span> Updated:</span>
<span> ${new Date(repo.pushed_at).toLocaleDateString('en-SE', {year: 'numeric', month: 'short', day: 'numeric'})}</span>

Choose a reason for hiding this comment

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

Looks really good with the month as short

} else {
document.getElementById(
`commit-${repo.name}`).innerHTML += `no commits visible, pull request unavailable.`;
}

Choose a reason for hiding this comment

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

Nicely done with displaying the pull requests!

}

/* TABLET */
@media only screen and (min-width: 768px) and (max-width: 1023px) {

Choose a reason for hiding this comment

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

Professional styling! Only one comment about the responsiveness of the page. The "boxes" with information about your repos are placed in one column on mobile size, tablet and desktop. Was it your intention not to place them next to each other on wider screens?

Copy link
Author

Choose a reason for hiding this comment

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

Thanks, Ida! I started doing flex and grid for them but didn't have enough time so I skipped it. My intention was to place two or three in a row but didn't manage to fix that. I wasnt sure about if I had to do another container inside innerHTML in JavaScript or how I should do it, i struggled a bit with the structure. Did you create both the parent container and the child container in HTML?

Choose a reason for hiding this comment

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

In the innerHTML I put a <div> and inside that I put a <form> with <ul> inside. So you should be able to out it all there I think.

Copy link

@idanaslund idanaslund left a comment

Choose a reason for hiding this comment

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

The styling of your page looks very professional. You have made a page that is functional and responsive and fulfills all requirements for blue level. Regarding responsiveness I have made som comments about how the page is displayed on desktop.

Great job with this project!

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