½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > JAVASCRIPT > javascript ¼Ò½ºÃ¢°í > °ÔÀÓ > ¼ýÀÚ¸¶Ã߱⠰³ÀÓ »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
HTML
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
¼ýÀÚ¸¶Ã߱⠰³ÀÓ
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù °ÔÀÓ
´Ù¿î·Îµå Ƚ¼ö 1042 ȸ
°£´Ü¼³¸í ¼ýÀÚ¸¦ 1~100±îÁö ÀÚµ¿À¸·Î »ý¼ºµÅ¾î,ÀԷ¶õ¿¡ ÀÔ·ÂÇÏ¸ç ¾î¶²¼ýÀÚ¸¦ »ý¼ºÇß´ÂÁö Á¤´äÀ» ¸¶Ãç°¡´Â ÀÚ¹Ù°³ÀÓÀÔ´Ï´Ù.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â ½ºÅ©·¦Çϱâ

¾Æ·¡´Â º» ¿¹Á¦ÀÇ ÀÚ¹Ù½ºÅ©¸³Æ®ÀÔ´Ï´Ù.


<html>
<head>
    <title>ÇØÇÇCGI</title>
</head>

<body>

<SCRIPT LANGUAGE="JavaScript">
<!--
var guessme=Math.round(Math.random()*(99)+1);
var speech='1~100 »çÀÌ ¼ýÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.';

function process(mystery) {
    var guess=document.forms.guessquiz.guess.value;
    var speech='"'+guess+ '" Á¤È®ÇÑ ¼ýÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.';
        document.forms.guessquiz.guess.value='';

    if (guess==mystery){
        document.forms.guessquiz.prompt.value='ÃàÇÏÇÕ´Ï´Ù.! '+mystery+' ÀÌ Á¤´äÀÔ´Ï´Ù.!';
        alert ('ÄÄÇ»ÅÍ°¡ ¼±ÅÃÇÑ ¹øÈ£´Â '+mystery+' ÀÔ´Ï´Ù.! È®ÀÎÀ» ´©¸£¸é °ÔÀÓÀ» ´Ù½Ã ½ÃÀÛÇÕ´Ï´Ù.');
        speech='';
        document.location=document.location;
    }

    if (mystery<guess){
        speech=guess + 'º¸´Ù´Â ÀÛ½À´Ï´Ù.';
    }

    if (mystery>guess){
        speech=guess + 'º¸´Ù´Â Å®´Ï´Ù.';
    }

    if (guess==''){
        speech='You didn\'t guess anything!'
    }
document.forms.guessquiz.prompt.value=speech; document.forms.guessquiz.guess.focus();
}

//-->
</SCRIPT>

<FORM onSubmit="" NAME="guessquiz">
<TABLE>
<TR>
<TD>
<INPUT TYPE="text" NAME="prompt" SIZE="31" MAXLENGTH="40" VALUE="1~100 »çÀÌ ¼ýÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä."><BR>
<INPUT TYPE="text" NAME="guess" SIZE="3" MAXLENGTH="3" VALUE="">
<INPUT TYPE="button" VALUE="Guess" onClick='process(guessme)'>
</TD>
</TR>
</TABLE>
</FORM>

</body>
</html>


³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
µî·ÏµÈ ÀÇ°ßÀÌ ¾ø½À´Ï´Ù.
1
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöÅ°
 94447615 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.