Please see flow001 problem of adding two numbers in nodejs

this code is working on my brwoser perfectly but not in codechef submission

<!DOCTYPE html>
<html>
    <head>
    <title> </title>
            <script type="text/javascript">
                var n=parseInt(prompt("test cases"));
                var i; var a; var b; var c=0;
                var all= new Array();
                for(i=1;i<=n;i++)
                {
                    a=parseInt(prompt("first no."));
                    b=parseInt(prompt("second no"));
                    all[c]=a+b;
                    c++;

                }
                for(i=0;i<n;i++)
                        alert(all[i]);
            </script>
        
    </head>
    <body>
        
    </body>
</html>

Please link the problem and your submission with it.
Btw your question is almost impossible to read… Edit it

//