Skip to content

Pinar Demirel - GitHub Tracker w7#20

Open
pdetli wants to merge 6 commits into
Technigo:mainfrom
pdetli:main
Open

Pinar Demirel - GitHub Tracker w7#20
pdetli wants to merge 6 commits into
Technigo:mainfrom
pdetli:main

Conversation

@pdetli

@pdetli pdetli commented Oct 2, 2021

Copy link
Copy Markdown

At the beginning I had a hard time following, but I learned a lot. I am most proud to met the blue level requirements.

https://github-tracker-pde.netlify.app/

@dandeloid dandeloid left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Great job with the project!

The site works, looks good on mobile>desktop! I like the colors, look like GitHub but with your own personal touch.
Don’t have much constructive to add since it all works, left some minor comments in the code.

Overall good job!

Comment thread README.md
Comment on lines -3 to +13
Replace this readme with your own information about your project.

Start by briefly describing the assignment in a sentence or two. Keep it short and to the point.
The assignment was to create a GitHub tracker site for the projects froked from Technigo, using fetch and API technologies from the GitHub database.

## The problem

Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next?
The challange was using GitHub APIs and collect the relevant information. It was a good practise to learn more about APIs and fetch function.
I tried to keep the design simple and as similar as the github website.
I have fulfilled all the blue requirements but if I had more time I would show the last commit message and language percentages of each project..

## View it live

Every project should be deployed somewhere. Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about.
https://github-tracker-pde.netlify.app/

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice short ReadMe

Comment thread code/chart.js
//Draw the chart here
const drawChart = (amount) => {
const config = {
type: "bar",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Like that you tried something else than the Doughnut :)

Comment thread code/index.html
<main id="projects"></main>
<header>
<p class="header">
<a href="https://github.com/" target="blank"><i class="fa fa-github"></i></a>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

fa fa? ;D

Comment thread code/index.html
<p class="footer-text">© 2021 Pinar Demirel</p>
<p class="footer-text">
This page was made as a student project during the
<a class="technigo" target="blank" href="https://www.technigo.io/">

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Links are always nice to add

Comment thread code/script.js
repo.homepage
}" target="_blank" class="view-live" >View it Live ▶ </a> </p>
<span class="repo-language"></span>
<span class="language-name"> ${repo.language}</span>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nice with some extra fetched language info!

Comment thread code/style.css
}

/* ----- FOOTER SECTION ----- */
.fa {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can't figure out what 'fa' is referencing ;)

Comment thread code/script.js
fetch(myCommitsUrl)
.then((res) => res.json())
.then((data) => {
let commitMessage = data[0].commit.message

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Doesn't look like this variable got used, leftover from trying to fetch commit messages maybe?

Comment thread code/script.js
Comment on lines +62 to +71
// display the most used language for each project and change the color depending on the language
const repoLanguage = document.querySelectorAll(".repo-language")

repoLanguage.forEach((span) => {
if (span.nextElementSibling.innerText === "JavaScript") {
span.style.backgroundColor = "#f1e05a"
} else if (span.nextElementSibling.innerText === "HTML") {
span.style.backgroundColor = "#e34c26"
} else if (span.nextElementSibling.innerText === "CSS") {
span.style.backgroundColor = "#664e88"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

cool that you added some color change for extra details

Comment thread code/script.js
Comment on lines +46 to +51
<a class= "project-names-with-pr" href="${
repo.html_url
}" target="_blank">${repo.name}</a>
<p> <a href="${
repo.homepage
}" target="_blank" class="view-live" >View it Live ▶ </a> </p>

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This looks weirdly formatted to me... prettier extension?😆

Comment thread code/style.css
margin: auto;
padding: 20px;
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

great work🥳

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