diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 00000000..34665590 Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index 1613a3b0..0f6a6fb2 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,11 @@ # 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 weeks assignment was to dig dipper into API and create a GitHub tracer for our Technigo projects. ## 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? +I have to say this week was harder then expected because of Java Script, i have relied on my team more then before. If i had more time would have focused more on html/css and styling it more then i had time to do. ## 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://a1eksa-githubtracker.netlify.app/ diff --git a/code/GitHub1.png b/code/GitHub1.png new file mode 100644 index 00000000..182a1a3f Binary files /dev/null and b/code/GitHub1.png differ diff --git a/code/background.jpeg b/code/background.jpeg new file mode 100644 index 00000000..8e569c69 Binary files /dev/null and b/code/background.jpeg differ diff --git a/code/background1.jpeg b/code/background1.jpeg new file mode 100644 index 00000000..e66aa715 Binary files /dev/null and b/code/background1.jpeg differ diff --git a/code/chart.js b/code/chart.js index 92e85a30..67630d8e 100644 --- a/code/chart.js +++ b/code/chart.js @@ -1,4 +1,61 @@ -//DOM-selector for the canvas π -const ctx = document.getElementById('chart').getContext('2d') +// //DOM-selector for the canvas π +// const ctx = document.getElementById('chart').getContext('2d'); -//"Draw" the chart here π +// //Doughnut chart for projects +// const drawChart = (amount) => { +// const config = { +// type: 'doughnut', +// data: { +// labels: ['Finished', 'Not Finished'], +// datasets: [ +// { +// label: 'My First Dataset', +// data: [amount, 20 - amount], +// backgroundColor: ['rgb(87, 166, 255)', 'rgb(128, 128, 128)'], +// hoverOffset: 2, +// borderWidth: 0, +// }, +// ], +// }, +// }; +// const myChart = new Chart(ctx, config); +// }; + +//DOM-selector for the canvas +const ctx = document.getElementById('chart').getContext('2d'); + +//Draw the chart here +const drawChart = (amount) => { + const config = { + type: 'bar', + data: { + labels: ['Finished projects', 'Projects left'], + datasets: [ + { + label: 'Technigo Bootcamp Projects', + data: [amount, 20 - amount], + barPercentage: 20, + barThickness: 100, + maxBarThickness: 100, + borderRadius: 2, + + backgroundColor: [ + 'rgba(255, 98, 132, 0.3)', + 'rgba(255, 169, 63, 0.3)', + ], + borderColor: ['rgb(255, 98, 132)', 'rgb(255, 169, 63)'], + borderWidth: 1, + }, + ], + }, + options: { + plugins: { + legend: { + position: 'bottom', + }, + }, + }, + }; + + const myChart = new Chart(ctx, config); +}; diff --git a/code/favicon.png b/code/favicon.png new file mode 100644 index 00000000..b2b044cc Binary files /dev/null and b/code/favicon.png differ diff --git a/code/git.png b/code/git.png new file mode 100644 index 00000000..f96afb1e Binary files /dev/null and b/code/git.png differ diff --git a/code/github.png b/code/github.png new file mode 100644 index 00000000..0fc3157d Binary files /dev/null and b/code/github.png differ diff --git a/code/github2.png b/code/github2.png new file mode 100644 index 00000000..acd5d242 Binary files /dev/null and b/code/github2.png differ diff --git a/code/images.jpeg b/code/images.jpeg new file mode 100644 index 00000000..2f55c0c8 Binary files /dev/null and b/code/images.jpeg differ diff --git a/code/index.html b/code/index.html index 2fb5e0ae..b8daaf6f 100644 --- a/code/index.html +++ b/code/index.html @@ -1,21 +1,43 @@ -
- - - -