@@ -18,6 +18,13 @@
background-color: gray;
}

#invite-members{
color: black;
font-size: 15pt;
padding-bottom: 10px;
padding-top: 5px;
}

.menu-dropdown {
color: orange;
background-color: gray;
@@ -44,4 +51,8 @@ h4 {
color: orange;
background-color: gray;
border-color: gray;
}

#team-name {
resize: none;
}
BIN +25.5 KB src/img/Thumbs.db
Binary file not shown.
@@ -0,0 +1,28 @@
window.onload = function () {
var editMode = false;


console.log("Text written using JavaScript code!");

document.getElementById("edit-submit-button").addEventListener("click", function() {
var toggleEdit = document.getElementsByClassName("toggle-edit");
var contentEditable;
var buttonText;

if(editMode == false) {
editMode = true;
contentEditable = true;
buttonText = "Submit";
} else {
editMode = false;
contentEditable = false;
buttonText = "Edit";
}

for(var i = 0; i < toggleEdit.length; i++) {
toggleEdit[i].setAttribute("contentEditable", contentEditable);
}
this.innerText = buttonText;
});

}