-
Notifications
You must be signed in to change notification settings - Fork 131
GitHub Tracker - Jessica Sandler #105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Dopest0727
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really cool code and really easy to read, cool features and great use of CSS!
|
|
||
| :root { | ||
| --primary: #F5F5F5; | ||
| --secondary: #a6c2a7; /* Only used in the chart */ | ||
| --third: #4D724D; | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! :)
| // This function filters out repos that are forked and start with "project" | ||
| const getTechnigoRepos = (repos) => { | ||
| return repos | ||
| .filter(repo => repo.fork === true && repo.name.startsWith("project")) | ||
| }; | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good use of comments
code/script.js
Outdated
| // Buttons to show or hide commit comments | ||
| let showCommitsButton = document.createElement('button'); | ||
| showCommitsButton.className = 'commits-button'; | ||
| showCommitsButton.innerHTML = 'Show commits'; | ||
| repoDivContent.appendChild(showCommitsButton); | ||
|
|
||
| let hideCommitsButton = document.createElement('button'); | ||
| hideCommitsButton.className = 'commits-button'; | ||
| hideCommitsButton.innerHTML = 'Hide commits'; | ||
| commitDiv.appendChild(hideCommitsButton); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really cool feature
No description provided.