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
Using Python on VScode
2 Votes
Python Developer
0 Votes
Wayss
0 Votes
fully dynamic arrays
1 Votes
Guys who tell me
0 Votes
Hearts
0 Votes
Project subjection
0 Votes