Javascript and Html directions: create a webpage that will calculate a number raised to an exponent using aloop. Your output should display the answer as”x raised to the ypower isz“. A data validation check should pop up analert box that says “Sorry, this program cannot handle exponentsless than one” and the calculation not be performed if the userenters an exponent less than one. The function thatcalculates the answer must be located in the head area of the webpage, it must be called from the body area, and it must pass thenumber and the exponent the user inputs as parameters to thefunction. The calculation should
PayPal Gateway not configured
PayPal Gateway not configured