73 of 100 menu

JavaScript Taskbook Level 8.3

Let's say there are checkboxes, checked and unchecked. When you click a button, make all the checkboxes change their state.

The following array is given:

let arr = [1, 2, 3, 4, 5, 6];

The number is also given:

let num = 3;

Add as many empty strings to the given array as necessary so that the length of the array becomes equal to the square of the number from the variable.

Display the following pyramid on the screen:

111
222
333
444
555
666
777
888
999
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline