Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to debug javascript

    • 0
    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 141
    Comment on it

    JavaScript Debugging

    Debugging is very complex for users to writing a JavaScript code without a debugger in web page.

    Javascript code might contain syntax errors, or logical errors, which are difficult to find out.

    Note : Javascript errors will happen, every time we try to write some new code of JavaScript.

    JavaScript Debuggers

    Debuggers are Searching errors in programming code is called code debugging.

    Debugging is not easy to find out the errors but browsers have a built-in debugger. Built-in debuggers have toggle switch fore turned on and off and forcing errors to be reported to the user.

    You can activate debugging in all browser's with the F12 key, and can select "Console" panel in the debugger menu. If browser supports debugging then you can use console.log() to display values and error in the debugger window or panel.

    For example :

     <!DOCTYPE html>
    <html>
    <body>
    
    <h1>findnerd.com</h1>
    
    <script>
    
    console.log('My name is Bhagwan Singh');
    </script>
    
    </body>
    </html>
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: