Question: Computer Science & Information Technology Department Fall Semester 2020/ 2021 Web Design CIS 201 Assignment 3 Write a JavaScript code that do the following: 1.


Computer Science & Information Technology Department Fall Semester 2020/ 2021 Web Design CIS 201 Assignment 3 Write a JavaScript code that do the following: 1. Allows the user to Enter pattern of printing (A for Ascending, D for Descending). . 2. If user presses A: Allows the user to enter number of rows. Print "you chose Ascending" phrase as h3 in blue color. Print "*' as shown in figure. Display an alert. . 2.0 FACISZA OFICIA... You Chose Ascending ** 2000 eo ... Message from wy DONE GK e w EN. DIAM 414/2015 3. If user presses D: Allows the user to enter number of rows. Print "you chose Descending" phrase as h3 in blue color. Print "*' as shown in figure. Display an alert. FACTOR OFICIA3.03. You Chose Descending ***** . Mesum wp # DONE CK w e 15 11:27 AM Ex. 12 4. if user enters anything else: don't do anything
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
