diff --git a/1. Build a Passenger Counter App/18. What is a string?/index.css b/1. Build a Passenger Counter App/18. What is a string?/index.css
deleted file mode 100644
index 4560be6a..00000000
--- a/1. Build a Passenger Counter App/18. What is a string?/index.css
+++ /dev/null
@@ -1,38 +0,0 @@
-body {
- background-image: url("station.jpg");
- background-size: cover;
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
- font-weight: bold;
- text-align: center;
-}
-
-h1 {
- margin-top: 10px;
- margin-bottom: 10px;
-}
-
-h2 {
- font-size: 50px;
- margin-top: 0;
- margin-bottom: 20px;
-}
-
-button {
- border: none;
- padding-top: 10px;
- padding-bottom: 10px;
- color: white;
- font-weight: bold;
- width: 200px;
- margin-bottom: 5px;
- border-radius: 5px;
-}
-
-#increment-btn {
- background: darkred;
-}
-
-#save-btn {
- background: darkgreen;
-}
-
diff --git a/1. Build a Passenger Counter App/18. What is a string?/index.html b/1. Build a Passenger Counter App/18. What is a string?/index.html
deleted file mode 100644
index c5609339..00000000
--- a/1. Build a Passenger Counter App/18. What is a string?/index.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
-
-
People entered:
-
0
-
-
-
-
-
\ No newline at end of file
diff --git a/1. Build a Passenger Counter App/18. What is a string?/index.js b/1. Build a Passenger Counter App/18. What is a string?/index.js
deleted file mode 100644
index fb975010..00000000
--- a/1. Build a Passenger Counter App/18. What is a string?/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-let countEl = document.getElementById("count-el")
-let count = 0
-
-function increment() {
- count = count + 1
- countEl.innerText = count
-}
-
-function save() {
- console.log(count)
-}
-
-
diff --git a/1. Build a Passenger Counter App/18. What is a string?/station.jpg b/1. Build a Passenger Counter App/18. What is a string?/station.jpg
deleted file mode 100644
index 53fac691..00000000
Binary files a/1. Build a Passenger Counter App/18. What is a string?/station.jpg and /dev/null differ
diff --git a/3. Build a Blackjack game/03. If...else conditionals/index.html b/3. Build a Blackjack game/03. If...else conditionals/index.html
deleted file mode 100644
index ebaa4574..00000000
--- a/3. Build a Blackjack game/03. If...else conditionals/index.html
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/3. Build a Blackjack game/03. If...else conditionals/index.js b/3. Build a Blackjack game/03. If...else conditionals/index.js
deleted file mode 100644
index ec802b41..00000000
--- a/3. Build a Blackjack game/03. If...else conditionals/index.js
+++ /dev/null
@@ -1,4 +0,0 @@
-let firstCard = 6
-let secondCard = 9
-let sum = firstCard + secondCard
-
diff --git a/3. Build a Blackjack game/05. if:else...if:else statement/index.html b/3. Build a Blackjack game/05. if:else...if:else statement/index.html
deleted file mode 100644
index ebaa4574..00000000
--- a/3. Build a Blackjack game/05. if:else...if:else statement/index.html
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/3. Build a Blackjack game/05. if:else...if:else statement/index.js b/3. Build a Blackjack game/05. if:else...if:else statement/index.js
deleted file mode 100644
index b856709e..00000000
--- a/3. Build a Blackjack game/05. if:else...if:else statement/index.js
+++ /dev/null
@@ -1,7 +0,0 @@
-// Check if the person is elegible for a birthday card from the King! (100)
-
-let age = 100
-
-// if less than 100 -> "Not elegible"
-// else if exactly 100 -> "Here is your birthday card from the King!"
-// else -> "Not elegible, you have already gotten one"
\ No newline at end of file
diff --git a/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/images/table.png b/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/images/table.png
deleted file mode 100644
index b6e297b6..00000000
Binary files a/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/images/table.png and /dev/null differ
diff --git a/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/index.css b/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/index.css
deleted file mode 100644
index ac816d6d..00000000
--- a/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/index.css
+++ /dev/null
@@ -1,31 +0,0 @@
-body {
- font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
- background-image: url("images/table.png");
- background-size: cover;
- font-weight: bold;
- color: white;
- text-align: center;
-}
-
-h1 {
- color: goldenrod;
-}
-
-#message-el {
- font-style: italic;
-}
-
-/* 3. Make sure that the two buttons have some space between
-each other when they are rendered out vertically */
-button {
- color: #016f32;
- width: 150px;
- background: goldenrod;
- padding-top: 5px;
- padding-bottom: 5px;
- font-weight: bold;
- border: none;
- border-radius: 2px;
- margin-bottom: 2px;
- margin-top: 2px;
-}
\ No newline at end of file
diff --git a/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/index.html b/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/index.html
deleted file mode 100644
index 86fc8409..00000000
--- a/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/index.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
Blackjack
-
Want to play a round?
-
Cards:
-
Sum:
-
-
-
-
-
\ No newline at end of file
diff --git a/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/index.js b/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/index.js
deleted file mode 100644
index 16a5856b..00000000
--- a/3. Build a Blackjack game/33. How can we avoid to hard-code card values?/index.js
+++ /dev/null
@@ -1,45 +0,0 @@
-let firstCard = 10
-let secondCard = 4
-let cards = [firstCard, secondCard]
-let sum = firstCard + secondCard
-let hasBlackJack = false
-let isAlive = true
-let message = ""
-let messageEl = document.getElementById("message-el")
-let sumEl = document.getElementById("sum-el")
-let cardsEl = document.getElementById("cards-el")
-
-// Create a function, getRandomCard(), that always returns the number 5
-
-
-function startGame() {
- renderGame()
-}
-
-function renderGame() {
- cardsEl.textContent = "Cards: "
- for (let i = 0; i < cards.length; i++) {
- cardsEl.textContent += cards[i] + " "
- }
-
- sumEl.textContent = "Sum: " + sum
- if (sum <= 20) {
- message = "Do you want to draw a new card?"
- } else if (sum === 21) {
- message = "You've got Blackjack!"
- hasBlackJack = true
- } else {
- message = "You're out of the game!"
- isAlive = false
- }
- messageEl.textContent = message
-}
-
-
-function newCard() {
- let card = 6
- sum += card
- cards.push(card)
- console.log(cards)
- renderGame()
-}
diff --git a/3. Build a Blackjack game/37. Math.random() * 6/index.html b/3. Build a Blackjack game/37. Math.random() * 6/index.html
deleted file mode 100644
index 5389d054..00000000
--- a/3. Build a Blackjack game/37. Math.random() * 6/index.html
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/3. Build a Blackjack game/37. Math.random() * 6/index.js b/3. Build a Blackjack game/37. Math.random() * 6/index.js
deleted file mode 100644
index d4821db3..00000000
--- a/3. Build a Blackjack game/37. Math.random() * 6/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-let randomNumber = Math.random()
-
-console.log(randomNumber)
-
-
-/*
-
-In which range will our randomNumber be now?
-
-From:
-To:
-
-*/
\ No newline at end of file
diff --git a/5. Build a Chrome Extension/15. How to render
elements with innerHTML/index.css b/5. Build a Chrome Extension/15. How to render
elements with innerHTML/index.css
deleted file mode 100644
index ee6339c5..00000000
--- a/5. Build a Chrome Extension/15. How to render
- `
- }
- ulEl.innerHTML = listItems
-}
diff --git a/5. Build a Chrome Extension/32. What is localStorage?/manifest.json b/5. Build a Chrome Extension/32. What is localStorage?/manifest.json
deleted file mode 100644
index 2ee0f7a3..00000000
--- a/5. Build a Chrome Extension/32. What is localStorage?/manifest.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "manifest_version": 3,
- "version": "1.0",
- "name": "Leads tracker",
- "action": {
- "default_popup": "index.html",
- "default_icon": "icon.png"
- }
-}
\ No newline at end of file
diff --git a/5. Build a Chrome Extension/51. How to get the current tab?/icon.png b/5. Build a Chrome Extension/51. How to get the current tab?/icon.png
deleted file mode 100644
index ce79a475..00000000
Binary files a/5. Build a Chrome Extension/51. How to get the current tab?/icon.png and /dev/null differ
diff --git a/5. Build a Chrome Extension/51. How to get the current tab?/index.css b/5. Build a Chrome Extension/51. How to get the current tab?/index.css
deleted file mode 100644
index 00cb8b4b..00000000
--- a/5. Build a Chrome Extension/51. How to get the current tab?/index.css
+++ /dev/null
@@ -1,43 +0,0 @@
-body {
- margin: 0;
- padding: 10px;
- font-family: Arial, Helvetica, sans-serif;
- min-width: 400px;
-}
-
-input {
- width: 100%;
- padding: 10px;
- box-sizing: border-box;
- border: 1px solid #5f9341;
- margin-bottom: 4px;
-}
-
-button {
- background: #5f9341;
- color: white;
- padding: 10px 20px;
- border: 1px solid #5f9341;
- font-weight: bold;
-}
-
-#delete-btn {
- background: white;
- color: #5f9341;
-}
-
-ul {
- margin-top: 20px;
- list-style: none;
- padding-left: 0;
-}
-
-li {
- margin-top: 5px;
-}
-
-a {
- color: #5f9341;
-}
-
-
diff --git a/5. Build a Chrome Extension/51. How to get the current tab?/index.html b/5. Build a Chrome Extension/51. How to get the current tab?/index.html
deleted file mode 100644
index 56e2fc8d..00000000
--- a/5. Build a Chrome Extension/51. How to get the current tab?/index.html
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/5. Build a Chrome Extension/51. How to get the current tab?/index.js b/5. Build a Chrome Extension/51. How to get the current tab?/index.js
deleted file mode 100644
index 67ba11b0..00000000
--- a/5. Build a Chrome Extension/51. How to get the current tab?/index.js
+++ /dev/null
@@ -1,52 +0,0 @@
-let myLeads = []
-const inputEl = document.getElementById("input-el")
-const inputBtn = document.getElementById("input-btn")
-const ulEl = document.getElementById("ul-el")
-const deleteBtn = document.getElementById("delete-btn")
-const leadsFromLocalStorage = JSON.parse( localStorage.getItem("myLeads") )
-const tabBtn = document.getElementById("tab-btn")
-
-if (leadsFromLocalStorage) {
- myLeads = leadsFromLocalStorage
- render(myLeads)
-}
-
-const tabs = [
- {url: "https://www.linkedin.com/in/per-harald-borgen/"}
-]
-
-
-tabBtn.addEventListener("click", function(){
- // Grab the URL of the current tab!
- myLeads.push(tabs[0].url)
- localStorage.setItem("myLeads", JSON.stringify(myLeads) )
- render(myLeads)
-
-})
-
-function render(leads) {
- let listItems = ""
- for (let i = 0; i < leads.length; i++) {
- listItems += `
-
- `
- }
- ulEl.innerHTML = listItems
-}
-
-deleteBtn.addEventListener("dblclick", function() {
- localStorage.clear()
- myLeads = []
- render(myLeads)
-})
-
-inputBtn.addEventListener("click", function() {
- myLeads.push(inputEl.value)
- inputEl.value = ""
- localStorage.setItem("myLeads", JSON.stringify(myLeads) )
- render(myLeads)
-})
\ No newline at end of file
diff --git a/5. Build a Chrome Extension/51. How to get the current tab?/manifest.json b/5. Build a Chrome Extension/51. How to get the current tab?/manifest.json
deleted file mode 100644
index 2ee0f7a3..00000000
--- a/5. Build a Chrome Extension/51. How to get the current tab?/manifest.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "manifest_version": 3,
- "version": "1.0",
- "name": "Leads tracker",
- "action": {
- "default_popup": "index.html",
- "default_icon": "icon.png"
- }
-}
\ No newline at end of file