diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..5282ce4a --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ + +code/secret.js \ No newline at end of file diff --git a/README.md b/README.md index 1613a3b0..783f2223 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # 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 project was to build a website that keept track on my info on github :) ## 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? +This week i had alot of problems with the code, all kinds of error and more more, i had help from my my team Foxes to fix the problem :) ## 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 u can se my page live -----> https://github-trackar.netlify.app/ diff --git a/code/chart.js b/code/chart.js index 92e85a30..c4629782 100644 --- a/code/chart.js +++ b/code/chart.js @@ -2,3 +2,20 @@ const ctx = document.getElementById('chart').getContext('2d') //"Draw" the chart here 👇 +const drawChart = (amount) => { + const configchart = { + type: 'doughnut', + data: { + labels: ['Complete', 'Not Complete'], + datasets: [ + { + label: 'Technigo projects rate ', + data: [amount, 19 - amount], + backgroundColor: ['#77E327', '#E33527'], + hoverOffset: 3, + }, + ], + }, + } + const myProjects = new Chart(ctx, configchart) +} diff --git a/code/github.png b/code/github.png new file mode 100644 index 00000000..1f67c1d0 Binary files /dev/null and b/code/github.png differ diff --git a/code/index.html b/code/index.html index 2fb5e0ae..8b7e76dc 100644 --- a/code/index.html +++ b/code/index.html @@ -1,21 +1,40 @@ -
- - - -
+