Toward the beginning of World 1-1 in Nintendo’s Super Mario Brothers, Mario must hop over adjacent pyramids of blocks, per the below.

In a file called mario.js in a folder called mario, implement a program in JavaScript that recreates that pyramid, using hashes (#) for bricks, as below:
# #
## ##
### ###
#### ####
Let's also allow the user to decide just how tall the pyramids should be by first prompting them for a positive integer, between 1 and 8 inclusive.
Notice that width of the "gap" between adjacent pyramids is equal to the width of two hashes, irrespective of the pyramids' heights.
Here's how it should look if the user inputs 6 when prompted:
# #
## ##
### ###
#### ####
##### #####
###### ######
If the user doesn't input a positive integer between 1 and 8, inclusive, the program should re-prompt the user until they cooperate.
In a terminal, create the folder with mkdir ~/code/mario and move into it with cd ~/code/mario. Start editing a new JavaScript file with code mario.js.
When you're ready to try out your program, run it with bun mario.js.
Look back over the lesson notes, in particular how to prompt the user for input and how to do count-controlled loops. It also shows how to use a function parseInt() which may be handy.
While not necessary for this task, you might find these helpful:
Ask your teacher to check your code.