Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Jordan University of Science and Technology CIS Department CIS 201 / Assignment#3 Write a Java Script Code to do the following tasks: Ask user to
Jordan University of Science and Technology CIS Department CIS 201 / Assignment#3 Write a Java Script Code to do the following tasks: Ask user to enter Integer number n using (prompt) as shown in figure#1. Calculate the squares of numbers from 1 to the n number. Print each number and its square using h3 as shown in figure#2. Check if the entered number less than or equal 0 then show alert to the user as shown in figure#3. Figure# 1 x p Bing Assignmenta3 Windows Internet Explorer e CAUsers Administrator Desktop Practice5.html File Edit View Favorites Tools Help x Google Favorites se Suggested Sites Web Slice Gallery Assignment 3 Search - Share More >> Explorer User Prompt OK Script Prompt Enter the integer N to generate numbers from 1 to N Cancel 6 Horizontal line h2 text with color green Figure#2 JavaScript to generate squares of 1 to 6 numbers Square of 1 = 1 Square of 2 = 4 Square of 3 = 9 Square of 4 = 16 Square of 5 = 25 h3 text with colors red and blue Square of 6 = 36 The alert message Figure#3 e C:\Users\Administrator Desktop\Ahlam Assignment=3.html File Edit View Favorites Tools Help x Google Favorites se Suggested Sites Web Slice Gallery Assignment#3 Message from webpage Wrong number. Try again!! O OK The alert message Figure#3 e C:\Users\Administrator Desktop\Ahlam Assignment=3.html File Edit View Favorites Tools Help x Google Favorites Suggested Sites Web Slice Gallery Assignment#3 Message from webpage x Wrong number. Try again!! OK
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started