Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~609 People Reached
Favorite Forums
Member Avatar for Kullercode

This script is supposed to show an alert if the text is longer than eight characters, what is wrong with it? <!DOCTYPE html> <html> <body> <input id="input"><button onclick="myFunction()">Click me</button> <script> function myFunction() { var x=document.getElementById("input").value if (x = > 8) { alert("Text must be lower than 8 letters") return false; …

Member Avatar for rholdbataller
0
176
Member Avatar for Kullercode

Just started learning JavaScript can someone please tell me what is wrong with this code <!DOCTYPE html> <html> <body> <h1>Password Requirement</h1> <p id="demo">Please enter your password</p> <input id="myInput" type="text" > <script> function myFunction() var a=document.getElementById("demo") var b=document.getElementById("myInput").value var c=document.getElementById("myBtn") if (b=="26a8f9e"(b)) { alert("Correct") } else { alert("Incorrect") } </script> <button …

Member Avatar for amrita111
0
299
Member Avatar for Kullercode

I need to know what the different parts of this JavaScript code means.. var x=document.getElementById("demo").value; if(x==""||isNaN(x)) I know what the result of the code is but I need to know what things like; 'var', '(x==""||isNaN(x)) I know what the 'document.getElementById("demo").value;' means but the '(x==""||isNaN(x)) i don't understand

Member Avatar for GliderPilot
0
134