Course Solutions Uncategorized (Answered) : Please Hard Time Validate Javascript Code Help Processes Fellow Calculations Power 3 Funct Q27957815

(Answered) : Please Hard Time Validate Javascript Code Help Processes Fellow Calculations Power 3 Funct Q27957815

Please I am having hard time to validate the JavaScript codehelp me out now, the processes to fellow

<!doctype html>

<head>

    <meta charset=”utf-8″ />

    <meta http-equiv=”X-UA-Compatible”content=”IE=edge”>

    <title>Calculations</title>

    <meta name=”viewport”content=”width=device-width, initial-scale=1″>

</head>

<body>

   

    <input type=”text” placeholder=”Enternumber” id=”InputNumber”>

    <button id=”Button1″onclick=”Button1Click()”>Power of 3</button>

    <div id=”Result”></div>

    <script >

        functionButtonClick(){

           //Error here in the name of the function (syntax)

           var input =document.getElementById(“InputNumber”).value;    //Get value of input number

           

           var number =input;                        //Store for power of 3

           //Calculations                                      

           for(var i = 0; i < 2; i++){     //Loop 2times because the first power is given

               number *=number;           //ERROR: Is Multiply by itself to find the power the correct way todo it?

                                           //Example: 3 * 3 = 9, then 9 * 9 =

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

(Solved) : Need Help 1 3 Understand Code Need Write Unsure Setup Need Download Database Someone Could Q30143635 . . . .(Solved) : Need Help 1 3 Understand Code Need Write Unsure Setup Need Download Database Someone Could Q30143635 . . . .

<p>From <img alt="Coronel / Morris Database Systems Design, Implementation, and Management 11e" src="https://cs.cheggcdn.com/covers2/43190000/43197264_1394084127.jpg" aria-describedby="d3f"/></p><p>I need help with 1-3. I understand what code I need to write butI am unsure how