Team:METU-BIN Ankara/Self-EvaluationTest
From 2011.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<link href="http://www.metu.edu.tr/~e172018/metu-bin-style.css" rel="stylesheet" type="text/css" /> | <link href="http://www.metu.edu.tr/~e172018/metu-bin-style.css" rel="stylesheet" type="text/css" /> | ||
+ | <script language="JavaScript"> | ||
+ | |||
+ | function get(form) { | ||
+ | var score = 0; | ||
+ | |||
+ | var ans1 = document.form.q1; | ||
+ | var ans2 = document.form.q2; | ||
+ | var ans3 = document.form.q3; | ||
+ | var ans4 = document.form.q4; | ||
+ | var ans5 = document.form.q5; | ||
+ | var ans6 = document.form.q6; | ||
+ | var ans7 = document.form.q7; | ||
+ | var ans8 = document.form.q8; | ||
+ | var ans9 = document.form.q9; | ||
+ | var ans10 = document.form.q10; | ||
+ | var ans11 = document.form.q11; | ||
+ | var ans12 = document.form.q12; | ||
+ | var ans13 = document.form.q13; | ||
+ | var ans14 = document.form.q14; | ||
+ | var ans15 = document.form.q15; | ||
+ | |||
+ | |||
+ | //Get values "0 means YES" "1 means No" | ||
+ | |||
+ | |||
+ | if( ans1[1].checked ) | ||
+ | {score++;} | ||
+ | if( ans2[0].checked ) | ||
+ | {score++;} | ||
+ | if( ans3[1].checked ) | ||
+ | {score++;} | ||
+ | if( ans4[1].checked ) | ||
+ | {score++;} | ||
+ | if( ans5[1].checked ) | ||
+ | {score++;} | ||
+ | if( ans6[0].checked ) | ||
+ | {score++;} | ||
+ | if( ans7[1].checked ) | ||
+ | {score++;} | ||
+ | if( ans8[0].checked ) | ||
+ | {score++;} | ||
+ | if( ans9[1].checked ) | ||
+ | {score++;} | ||
+ | if( ans10[0].checked ) | ||
+ | {score++;} | ||
+ | if( ans11[1].checked ) | ||
+ | {score++;} | ||
+ | if( ans12[0].checked ) | ||
+ | {score++;} | ||
+ | if( ans13[1].checked ) | ||
+ | {score++;} | ||
+ | if( ans14[0].checked ) | ||
+ | {score++;} | ||
+ | if( ans15[0].checked ) | ||
+ | {score++;} | ||
+ | |||
+ | //Determine the result | ||
+ | |||
+ | |||
+ | if ( 0 <= score && score <= 5) | ||
+ | { | ||
+ | document.getElementById('test').innerHTML = '<h4>Result</h4><p>Your score is ' + score + '.</p><p>You are the worst in the lab working. You should read and apply safety rules immediately or you should have emergency phone numbers in your pocket.</p><p><a href=\"https://2011.igem.org/Team:METU-Ankara/Safety\" target=\"_blank\">Read Safety Rules</a></p><p><a href=\"https://2011.igem.org/Team:METU-BIN_Ankara/Self-EvaluationTest\">Back to Test</a></p>'; | ||
+ | } | ||
+ | |||
+ | else if ( 5 < score && score <= 10) | ||
+ | { | ||
+ | document.getElementById('test').innerHTML = '<h4>Result</h4><p>Your score is ' + score + '.</p><p>You have more than enough self confidence but sometimes lab conditions don\'t care your trust and your experiments could fail unless you obey the safety rules.</p><p><a href=\"https://2011.igem.org/Team:METU-Ankara/Safety\" target=\"_blank\">Read Safety Rules</a></p><p><a href=\"https://2011.igem.org/Team:METU-BIN_Ankara/Self-EvaluationTest\">Back to Test</a></p>'; | ||
+ | } | ||
+ | |||
+ | else if ( 10 < score && score <= 15) | ||
+ | { | ||
+ | document.getElementById('test').innerHTML = '<h4>Result</h4><p>Your score is ' + score + '.</p><p>You are the number one! You are a really good lab worker. Every iGEM team needs you. With this safety conciousness, next year we will be waiting you. :)</p><p><a href=\"https://2011.igem.org/Team:METU-BIN_Ankara/Self-EvaluationTest\">Back to Test</a></p>'; | ||
+ | } | ||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | </script> | ||
</head> | </head> | ||
Revision as of 10:26, 13 September 2011
Self-Evaluation Test: Safety
Hey, this test is prepared by the team, who we collaborate, METU-Ankara, and coded by one of the members of METU-BIN team. We are happy to share this, and see what you got out of 15. :)
You can send us your results, we'll be gladly sharing them.