02-13-2019 02:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-13-2019 02:09
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
let titlePage = document.getElementById("appTitle");
let nextPage = document.getElementById("click");
let defaultScreen = document.getElementById("screen01");
let nextScreen = document.getElementById("screen02");
nextScreen.style.display = "none";
nextPage.onclick = function(e) {
console.log("NEXT SCREEN!");
titlePage.text = "Emergency Alert"
nextScreen.style.display = "block";
defaultScreen.style.display = "none";
};
everything works fine except this "nextScreen.style.display = "block";", i don't know why? Please help
Answered! Go to the Best Answer.

Accepted Solutions
02-13-2019 02:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-13-2019 02:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
02-13-2019 02:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-13-2019 02:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Try 'inline' instead of 'block'.
Gondwana Software
