im a beginner in javascript and i dont know what's wrong with my codes, its a guessing game and i wanted the output to be higher, lower and equals. the output of my codes are always equals.. i dont know what is wrong. help pls. thanks
Code:
<html>
<head>
<script language="javascript">
function textNum(){
var r = Math.floor(Math.random()*10);
var A = document.getElementById('enterno').value;