Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- document.addEventListener("DOMContentLoaded", function(event) {
- var newAl = document.querySelector("div.new");
- var addAl = document.getElementById("addAlert");
- function newAlert() {
- newAl.classList.remove("hidden");
- }
- function addAlert() {
- }
- addAl.addEventListener("click", function() {
- newAlert();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement