Back to Freecodecamp

Step 15

curriculum/challenges/english/blocks/learn-introductory-javascript-by-building-a-pyramid-generator/660ef5c1904955978a986a5c.md

latest675 B
Original Source

--description--

Use let to declare a count variable. Assign it the <dfn>number</dfn> 8. When using a number value, you do not use quotes. For example:

js
let money = 100;

--hints--

You should have a second let keyword in your code.

js
assert.lengthOf(__helpers.removeJSComments(code).match(/let/g), 2);

You should use let to declare a count variable.

js
assert.match(__helpers.removeJSComments(code), /let\s+count/);

You should assign the number 8 to your count variable.

js
assert.equal(count, 8);

--seed--

--seed-contents--

js
--fcc-editable-region--
let character = 'Hello';

--fcc-editable-region--