i have this script and I'm trying to make it work:
<head>
function go (){
var x, j, k;
x = document.getElementById('code').value;
j = ['1', '2', '3', '7', '8', '10'];
k = [ '4', '5', '6', '9'];
if (x == j) { document.getElementById('final').value = "A+"; }
if (x == k) {...