Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Total test time : 30 minutes
- 1. Construct (native)JavaScript function that accept a parameter as (n) to generate result as below:
- *
- **
- ***
- ****
- (Est. Time 5 minutes)
- 2. Construct (native)JavaScript function that accept a parameter as (n) to generate result as below:
- ****
- ***
- **
- *
- **
- ***
- ****
- (Est. Time 10 minutes)
- 3. Construct (native)JavaScript function that accept a parameter as (n) to generate result as below:
- 1
- 21
- 123
- 4321
- (Est. Time 5 minutes)
- 4. Construct JavaScript (native) function that will create (n as parameter) button elements.
- For each button thats is created should show an alert when clicked. The alert will show the (n) number of the
- button.
- Example:
- When I click the 1st button should show alert like "Button 1 clicked" and so on.
- (Est. Time 10 minutes)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement