SHARE
TWEET

Untitled

a guest Feb 24th, 2020 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2.     <head>
  3.         <meta charset="uft=8">
  4.         <title>Тестування</title>
  5.     <script>
  6.     function perevirka(tests){
  7.         var i=0;
  8.         if (test.one[1].checked) {1++;}
  9.         if (test.two[0].checked) {1++;}
  10.         if (test.three[2].checked) {1++;}
  11.         document.losts.druk.value=i;
  12. }
  13.     </script>
  14.    
  15.     </head>
  16. <body text=15>
  17.     <H2>Тестування</H2>
  18. <form metod="post" name="tests">
  19.  
  20. <fieldset>
  21. 250+250=?<br><br>
  22. <input type="radio" name="one" value="1">500<br>
  23. <input type="radio" name="one" value="2">400<br>
  24. <input type="radio" name="one" value="3">525<br>
  25. </fieldset>
  26.  
  27. <fieldset>
  28. 250-250=?<br><br>
  29. <input type="radio" name="two" value="1">0<br>
  30. <input type="radio" name="two" value="2">1<br>
  31. <input type="radio" name="two" value="3">4<br>
  32. </fieldset>
  33.  
  34. <fieldset>
  35. 1000+1000=?<br><br>
  36. <input type="radio" name="three" value="1">2000<br>
  37. <input type="radio" name="three" value="2">2001<br>
  38. <input type="radio" name="three" value="3">2002<br>
  39. </fieldset>
  40.  
  41. <input name="checked" onclick="perevirka(tests)"
  42. type="button" value="Кількість правильних відповідей">
  43. <input type="text" name="druk" size="2">
  44. <input type="reset" value="Оновити форму">
  45.  
  46. </form>
  47. </body>
  48. </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top