-
Notifications
You must be signed in to change notification settings - Fork 2
/
campaign.js
30 lines (24 loc) · 1.06 KB
/
campaign.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
let startbtn = document.querySelector("#start");
startbtn.addEventListener("click", startfun);
function startfun () {
let container = document.querySelector("#container");
container.innerHTML = null;
container.innerText = "Your project will be able to raise funds. Funds sent to a bank account located outside the US are charged a $25 International Transfer Fee."
}
// --------------------------NAVBAR-------------------------NABAR
// let dropbtn = document.querySelector("#dropbtn");
// dropbtn.addEventListener("click", () => {
// document.getElementById("myDropdown").classList.toggle("show");
// })
// window.onclick = function (event) {
// if (!event.target.matches('.dropbtn')) {
// var dropdowns = document.getElementsByClassName("dropdown-content");
// var i;
// for (i = 0; i < dropdowns.length; i++) {
// var openDropdown = dropdowns[i];
// if (openDropdown.classList.contains('show')) {
// openDropdown.classList.remove('show');
// }
// }
// }
// }