quick question, i want to to open a dialog box or a form we can say where i have to input some info and then store it. now my question is, how do i make sure a form pops up when i click that button.
```
function addBookToLibrary(){
const inputBtn = document.querySelector("#inputBtn");
inputBtn.addEventListener("click", (e) => {
})
}
```
Anonymous
loc-IN
images.jpeg
quick question, i want to to open a dialog box or a form we can say where i have to input some info and then store it. now my question is, how do i make sure a form pops up when i click that button.
```
function addBookToLibrary(){
const inputBtn = document.querySelector("#inputBtn");
inputBtn.addEventListener("click", (e) => {
})
}
```