-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
laget functions som bruker addDoc function fra firebase library osv . fikset layout og deisgn av knapper. Funker
- Loading branch information
1 parent
a7e754a
commit a51f317
Showing
3 changed files
with
92 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,37 @@ | ||
#addoc { | ||
#leggtilmeny { | ||
display: inline-block; | ||
margin: 5px; | ||
margin-top: 10px; | ||
margin-left:1000px ; | ||
|
||
} | ||
|
||
.topnav { | ||
color: brown; | ||
|
||
} | ||
|
||
#leggtilmeny { | ||
display: block; | ||
block-size: 35px; | ||
margin: 35px; | ||
background-color: pink; | ||
block-size: 30px; | ||
margin: auto; | ||
background-color: rgb(18, 163, 168); | ||
margin-bottom: 10px; | ||
margin-top: 15px; | ||
} | ||
|
||
#ViewAll { | ||
font-family: Geneva, Tahoma, sans-serif; | ||
|
||
} | ||
|
||
h1 { | ||
margin-top: 20px; | ||
font-family:'Gill Sans MT', 'Trebuchet MS', sans-serif; | ||
font-weight: bolder; | ||
display: block; | ||
background-color: blanchedalmond; | ||
|
||
} | ||
|
||
.activities:hover { | ||
color: red; | ||
cursor: pointer; | ||
display: block; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
|
||
console.log("hello world"); | ||
console.log("Fuck you world"); | ||
|
||
|
||
|
||
|
||
function ViewAll() { | ||
const dinput = document.getElementById("viewActBtn").value; | ||
console.log("funky town"); | ||
document.getElementById("viewAct").innerHTML = "These are the activities ongoing" | ||
// document.getElementById("myImage").src = "volleyball.jpg"; | ||
} | ||
|
||
// document.getElementById("ViewAct").addEventListener("click", ViewAll) | ||
// { | ||
// console.log("pressed, run ViewAll"); | ||
// } | ||
|
||
|
||
|
||
// display all activities inni activites tab i firestore tingen | ||
|
||
|
||
|
||
|
||
// const wievAct() { | ||
// wievAct.addEventListener( | ||
|
||
// getDoc(db, activities,activities) | ||
// ) | ||
// } |