Q&A Discussions
Print New line in Js
0 Votes
4 Answersfunction can_i_enter(age)
if (age < 6) { document.write ("you are not allowed to watch Dead pool after 6:00pm.");}
else if (age>=6 && age<17) {document.write("you must be accompanied by a guardian who is 21 or older.");}
else if (age>=17 && age<25) {document.write ("you are allowed to watch Dead pool, right after you show some ID. ")}
else if (age>=25) { document.write ("Yah! you can watch Dead pool with no strings attached!");}
else { document.write ("Invalid age. ");}
can_i_enter (24);
0 Votes
9 AnswersJavascript
0 Votes
3 AnswersIs this script correct?
0 Votes
2 Answersdocument.write() vs. print()
0 Votes
1 AnswerJavaScript Question
0 Votes
2 AnswersHot today
Can i code here? Or just learn?
2 Votes
Why Lazy?
1 Votes
Quiz App: Step 3, Restart Button
0 Votes
Catch the ball
0 Votes
Running a python code
1 Votes
Web development
0 Votes
PHP
0 Votes
How to do a responsive page?
1 Votes