Новый дизайн

This commit is contained in:
2020-09-01 16:06:47 +03:00
parent 6a1f450cef
commit 42a977ea7d
5 changed files with 110 additions and 9 deletions

13
main.js Normal file
View File

@@ -0,0 +1,13 @@
function showHint() {
console.log(document.getElementById("hint-div").style.display);
if (document.getElementById("hint-div").style.display == "block") {
document.getElementById("hint-div").style.display = "none";
document.getElementById("hint-link").innerHTML = "Что это?";
document.getElementById("hint-link").style.color = "#dddddd";
} else {
document.getElementById("hint-div").style.display = "block";
document.getElementById("hint-link").innerHTML = "Понял";
document.getElementById("hint-link").style.color = "black";
}
}