Q&A Discussions
what's wrong in this condition
prompt ("")
if (prompt ("1")) {
document.write("<h1>HTML Tutorial</h1>");
} else if (prompt ("2")) {
document.write("<h1>CSS Tutorial</h1>");
} else {
document.write("<h1>JavaScript Tutorial</h1>");
}
I want when type 1 in output HTML tutorial shows, type 2 css tutorial shows else javascript tutorial
0 Votes
13 AnswersHot today
SQL
3 Votes
HTML/CSS questions
0 Votes
IMAGE
0 Votes
What Does Pseudo Elements Mean.
2 Votes
Html
1 Votes
How to learn css and html
0 Votes
Certificate Problem
0 Votes
Find courses
0 Votes