I have tried many different ways but I still can’t understand how to complete this step. I will add the link to my code below and please can anyone give me hints on how to complete/understand the code.
it asks me this: Update your blank space strings to be repeated rowCount - rowNumber times.
Open up the console to see the result.
and this is my code:
type or paste code here:
function padRow(rowNumber, rowCount) {
return character.repeat(rowCount - rowNumber = " ") + character.repeat(rowNumber) + character.repeat(rowCount - rowNumber = " ");
}
This was the original before anything added in : function padRow(rowNumber, rowCount) {
return " " + character.repeat(rowNumber) + " ";
If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Help button located on the challenge. This button only appears if you have tried to submit an answer at least three times.
The Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
not exactly, the pyramid is already made of hashtags, but you need to change, like you said to make it “look like more of a pyramid rather than a right angle triangle”, like you said.