Sesiones de PyR
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 Votos
13 RespuestasEn tendencia hoy
Why we use return in function ?
0 Votes
Course
1 Votes
Hill Climbing
0 Votes
Real life projects
0 Votes
Leap year check
0 Votes