develop #1

Merged
vex merged 6 commits from develop into main 2024-10-13 14:09:12 +00:00
4 changed files with 4 additions and 9 deletions
Showing only changes of commit 5aee9eea39 - Show all commits

1
.gitignore vendored
View File

@ -130,3 +130,4 @@ dist
.yarn/install-state.gz
.pnp.*
/.idea/git_toolbox_blame.xml

View File

@ -3,9 +3,9 @@ let count = 0;
// select value and buttons
const value = document.querySelector("#value");
const btns = document.querySelectorAll(".btn");
const buttons = document.querySelectorAll(".btn");
btns.forEach(function (btn) {
buttons.forEach(function (btn) {
btn.addEventListener("click", function (e) {
const styles = e.currentTarget.classList;
if (styles.contains("decrease")) {

View File

@ -7,7 +7,7 @@
<title>Counter</title>
<!-- styles -->
<link rel="stylesheet" href="./styles.css"/>
<link rel="stylesheet" href="/src/styles.css"/>
</head>
<body>
<div class="container">

View File

@ -176,12 +176,6 @@ Counter
===============
*/
main {
min-height: 100vh;
display: grid;
place-items: center;
}
.container {
text-align: center;
}