diff --git a/.DS_Store b/.DS_Store
new file mode 100644
index 00000000..5008ddfc
Binary files /dev/null and b/.DS_Store differ
diff --git a/README.md b/README.md
index 1613a3b0..a4b9868a 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 assignment was to create a GitHub tracker using API's from GitHub to display information about forked projects done during Technigo Boot Camp.
## 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 started working with the blue requirements and after I had completed the tasks on blue level I continued working on the styling in CSS to make the page look like GitHub. However, if I had more time I would work more with getting the page more similar to GitHub and also adding some of the red and black requirements.
## 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://linneawilhelmsson-week7-github-tracker.netlify.app/
\ No newline at end of file
diff --git a/chart.js b/chart.js
new file mode 100644
index 00000000..491dafeb
--- /dev/null
+++ b/chart.js
@@ -0,0 +1,25 @@
+//DOM-selector for the canvas
+const ctx = document.getElementById('chart').getContext('2d')
+
+// Chart showing completed projects and how many there is left
+const repoChart = (amount) => {
+ const config = {
+ type: 'bar',
+ data: {
+ labels: [
+ 'Projects done',
+ 'Projects left',
+ ],
+ datasets: [{
+ label: 'Technigo projects',
+ data: [amount, 19-amount],
+ backgroundColor: [
+ 'rgb(63, 185, 79)',
+ '#8B949E',
+ ],
+ hoverOffset: 4
+ }]
+ },
+ };
+ const repositoryChart = new Chart(ctx, config);
+}
\ No newline at end of file
diff --git a/code/chart.js b/code/chart.js
deleted file mode 100644
index 92e85a30..00000000
--- a/code/chart.js
+++ /dev/null
@@ -1,4 +0,0 @@
-//DOM-selector for the canvas 👇
-const ctx = document.getElementById('chart').getContext('2d')
-
-//"Draw" the chart here 👇
diff --git a/code/index.html b/code/index.html
deleted file mode 100644
index 2fb5e0ae..00000000
--- a/code/index.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
- Project GitHub Tracker
-
-
-
-
GitHub Tracker
-
Projects:
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/code/script.js b/code/script.js
deleted file mode 100644
index e69de29b..00000000
diff --git a/code/style.css b/code/style.css
deleted file mode 100644
index 7c8ad447..00000000
--- a/code/style.css
+++ /dev/null
@@ -1,3 +0,0 @@
-body {
- background: #FFECE9;
-}
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 00000000..070e2e92
--- /dev/null
+++ b/index.html
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+ Project GitHub Tracker
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Technigo repositories:
+
+
+
+
+
+
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 00000000..e148340f
--- /dev/null
+++ b/script.js
@@ -0,0 +1,75 @@
+const repoContainer = document.getElementById('projects')
+const projectInfo = document.getElementById('profile-info')
+
+const USER = 'Skrosen'
+const USER_INFO = `https://api.github.com/users/${USER}`
+const USER_REPOS = `https://api.github.com/users/${USER}/repos`
+
+// Profile information
+const profileInfo = () => {
+ fetch(USER_INFO)
+ .then(res => res.json())
+ .then(userProfile => {
+ projectInfo.innerHTML += /* html */`
+
+