| http://www.w3.org/ns/prov#value | - te( Please ensure a valid number is ??? entered ); // If the value is a number but over 10, ask the //user to try again } else { if ( userNumber > 10 || userNumber < 1 ) { document.write( The number you entered is not??? between 1 and 10 ); // Otherwise the number is between 1 and 10 so // write to the page } else { document.write( The number you entered was + userNumber ); } } </script> </
|