본문 바로가기

javascript

퀴즈퀴즈

<!--BODY 부분에 아래의 스크립트를 복사해 넣으세요-->
<p align="center"><font size="5" face="Comic Sans MS"><strong>Quiz! Quiz!</strong></font></p>
<div align="center"><center>

<table border="5" cellpadding="5" cellspacing="5">
    <tr>
        <td><font face="Comic Sans MS"><strong>질문내용:</strong></font></td>
        <td><font face="Comic Sans MS"><strong>당신의 답안지:</strong></font></td>
    </tr>
    <tr>
        <td><strong>Who Plays Ethan Hunt in Mission Impossible 2?</strong></td>
        <td><!--webbot bot="HTMLMarkup" startspan --><html>
<head>
<title>Cool JavaScript</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
var question="Who plays Ethan Hunt in Mission Impossible 2?"; //질문 내용을 적어 주세요
var answer='Tom Cruise'; //정답을 적어 주세요
var correct='Correct!';
var incorrect='Wrong!';
var response = prompt(question,"");
var output = (response == answer) ? correct : incorrect;
// Stop Hiding -->
</SCRIPT>
</head>
<body>

<div align="center"><BR>
<font face="verdana,arial,helvetica" size="3" color="red"><B>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
document.write(output);
// Stop Hiding -->
</SCRIPT>
</B></font>
</div>

</body>
</html>
<!--webbot
        bot="HTMLMarkup" endspan --></td>
    </tr>
    <tr>
        <td><strong>What means the 3 W's on the Internet?</strong></td>
        <td><!--webbot bot="HTMLMarkup" startspan --><html>
<head>
<title>Cool JavaScript</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
var question="What means the 3 W's on the Internet? "; //두번째 질문 내용
var answer='World Wide Web'; //정답
var correct='Correct!';
var incorrect='Wrong!';
var response = prompt(question,"");
var output = (response == answer) ? correct : incorrect;
// Stop Hiding -->
</SCRIPT>
</head>
<body>

<div align="center"><BR>
<font face="verdana,arial,helvetica" size="3" color="red"><B>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
document.write(output);
// Stop Hiding -->
</SCRIPT>
</B></font>
</div>

</body>
</html>

<!--webbot
        bot="HTMLMarkup" endspan --></td>
    </tr>
    <tr>
        <td><strong>What is the cappital of Denmark?</strong></td>
        <td><!--webbot bot="HTMLMarkup" startspan --><html>
<head>
<title>Cool JavaScript</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
var question="What is the Cappital of Denmark?"; //3번째 질문
var answer='Copenhagen'; //정답
var correct='Correct!';
var incorrect='Wrong!';
var response = prompt(question,"");
var output = (response == answer) ? correct : incorrect;
// Stop Hiding -->
</SCRIPT>
</head>
<body>

<div align="center"><BR>
<font face="verdana,arial,helvetica" size="3" color="red"><B>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
document.write(output);
// Stop Hiding -->
</SCRIPT>
</B></font>
</div>

</body>
</html>

<!--webbot
        bot="HTMLMarkup" endspan --></td>
    </tr>
    <tr>
        <td><strong>On wich adress did you find this script?</strong></td>
        <td><!--webbot bot="HTMLMarkup" startspan --><html>
<head>
<title>Cool JavaScript</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
var question="On wich adress did you find this Script?"; //4번째 질문
var answer='www.javascript.co.kr'; //정답
var correct='Correct!';
var incorrect='Wrong!';
var response = prompt(question,"");
var output = (response == answer) ? correct : incorrect;
// Stop Hiding -->
</SCRIPT>
</head>
<body>

<div align="center"><BR>
<font face="verdana,arial,helvetica" size="3" color="red"><B>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
document.write(output);
// Stop Hiding -->
</SCRIPT>
</B></font>
</div>

</body>
</html>

<!--webbot
        bot="HTMLMarkup" endspan --></td>
    </tr>
    <tr>
        <td><strong>Was Elvis a singer</strong></td>
        <td><!--webbot bot="HTMLMarkup" startspan --><html>
<head>
<title>Cool JavaScript</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
var question="Was Elvis a singer? "; //5번째 질문
var answer='Yes'; //정답
var correct='Correct!';
var incorrect='Wrong!';
var response = prompt(question,"");
var output = (response == answer) ? correct : incorrect;
// Stop Hiding -->
</SCRIPT>
</head>
<body>

<div align="center"><BR>
<font face="verdana,arial,helvetica" size="3" color="red"><B>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hiding
document.write(output);
// Stop Hiding -->
</SCRIPT>
</B></font>
</div>

</body>
</html>

<!--webbot
        bot="HTMLMarkup" endspan --></td>
    </tr>
</table>
</center></div>

<p> </p>

<p><font face="Comic Sans MS"><strong>Answers to the Questions:</strong></font></p>
<div align="left">

<table border="5" cellpadding="5" cellspacing="5">
    <tr>
        <td><strong>Question #1</strong></td>
        <td><strong>Tom Cruise</strong></td>
    </tr>
    <tr>
        <td><strong>Question #2</strong></td>
        <td><strong>World Wide Web</strong></td>
    </tr>
    <tr>
        <td><strong>Question #3</strong></td>
        <td><strong>Copenhagen</strong></td>
    </tr>
    <tr>
        <td><strong>Question #4</strong></td>
        <td><a href="http://www.javascript.co.kr"><strong>www.javascript.co.kr</strong></a><strong>
        </strong></td>
    </tr>
    <tr>
        <td><strong>Question #5</strong></td>
        <td><strong>Yes</strong></td>
    </tr>
</table>
</div>