Discussions Q&R
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 Vote
13 RéponsesAujourd'hui en vedette
hi there can u answer
0 Votes
App
0 Votes
Why is my AI helper spanish?
1 Votes
Help me to write code in c sharp
0 Votes
Json
1 Votes
GIS Analyst to GIS Developer
0 Votes
Bolding text in html
0 Votes
Animastion
0 Votes
Can't do more than one input?
0 Votes