what's wrong with this code
Code:<html> <body> <script> var age=prompt("what's your age") var gen=prompt("what's your gge") if (age>=21 && gen=male) || (age>=18 && gen=female) { document.write("eligble") } else { document.write("not eligble") } </script> </body> </html>


Reply With Quote
Bookmarks