问题描述
var name =提示:你的名字是什么?;
var question =提示:这是给你的问题?+名字,你能为你的机器而死吗?所有游戏;
var answer =提示:你的回答(是/否);
if(answer =='是的'){
document.write =(你是一个像我一样疯狂的骗局!!+名字+,欢迎来到书房,奇怪的一面!!!);
}
else if(answer =='No'){
document.write =(呃!骗子你没资格参加这个网站,Adios+名称);
}
我尝试了什么:
更改变量名称和条件
var name=prompt:"What is your name?";
var question=prompt :"Here is a question for you ? "+name " , Can you die for your machine which has all your games" ;
var answer=prompt:"Your answer(Yes/No)";
if (answer=='Yes'){
document.write=("you are a crazy narc like me!!"+name +" ,welcome to the den, the weird side!!!");
}
else if(answer=='No'){
document.write=("Eh! liar you are not qualified to be on this site, Adios"+name);
}
What I have tried:
changing variable name and conditions
推荐答案
这篇关于该脚本无法运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!