diff --git a/index.html b/index.html index 5267428..09ab852 100644 --- a/index.html +++ b/index.html @@ -96,6 +96,7 @@ class="flex justify-center items-center lg:mt-8 mt-6 font-raleway" > Buy Tickets @@ -234,6 +235,7 @@ @@ -793,7 +795,7 @@ BDT 1100 Phone Number diff --git a/scripts/app.js b/scripts/app.js index 8b13789..9e1ab7b 100644 --- a/scripts/app.js +++ b/scripts/app.js @@ -1 +1,7 @@ - +document + .getElementById("go-to-buy-ticket") + .addEventListener("click", function () { + document + .getElementById("buy-ticket") + .scrollIntoView({ behavior: "smooth" }); + });