diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..3c779262 Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index 1613a3b0..ac5d574e 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,18 @@ # GitHub Tracker -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. +This assignment was structued to create fetch functions to showcase data coming from Githubs API. +Part of the assigment was to design a page that would show fetched data. ## 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? +First of I started by creating all the main functions that I would need to fullfill the blue requirements. +I used HTML, CSS and Javascript languages to write my code in VS code and deployed my site through netlify. + +Secondly I decided on a simple HTML CSS styling that would focus on the fetched data. I made the site responsive through all viewports and added very few animations to make the site look and feel proffesional and to the point. + +If I had more time I would make my site Universal to any github account instead of Personal. ## 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. +Here is a link to my project. +https://githubtrace.netlify.app/ diff --git a/code/chart.js b/code/chart.js index 92e85a30..7dca9c6d 100644 --- a/code/chart.js +++ b/code/chart.js @@ -2,3 +2,21 @@ const ctx = document.getElementById('chart').getContext('2d') //"Draw" the chart here 👇 +const drawChart = (amount) => { + const config = { + type: 'doughnut', + data: { + labels: ['Finished', 'Not finished'], + datasets: [ + { + label: 'Technigo projects rate ', + data: [amount, 19 - amount], + backgroundColor: ['#0f0c29', '#e6e6e6'], + hoverOffset: 50, + }, + ], + }, + } + + const myProjects = new Chart(ctx, config) +} diff --git a/code/github_icon.png b/code/github_icon.png new file mode 100644 index 00000000..a6de6a93 Binary files /dev/null and b/code/github_icon.png differ diff --git a/code/index.html b/code/index.html index 2fb5e0ae..98d8dde9 100644 --- a/code/index.html +++ b/code/index.html @@ -1,21 +1,44 @@ -
- - - -