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
Font size
0 Votes
Please reply me
1 Votes
what's wrong with my code?
2 Votes
Web code
0 Votes
Same question
0 Votes
About SQL application
2 Votes
Imagens
0 Votes
Help!
0 Votes
python coding
0 Votes