Обсуждения
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 голосов
13 ответовWhat will be the out of this code?
0 голосов
2 ответовАктуальное сегодня
Activities on sololearn
7 Votes
Can you help me ?
1 Votes
Computer architecture
1 Votes
App development 🔥☝️
1 Votes
Hearts refill
1 Votes
Can anyone help me?
0 Votes
Does skipping void Certificate?
1 Votes