Следите за новинками
в нашем Telegram канале. Жми, чтобы подписаться:)
⊗jsPrTstAAV 35 of 62 menu
◀ ▶

Test with answer options in an array in JavaScript

Let now we have an array in which the numbers of correct answers for each question are written:

let answers = [0, 1, 2];

That is, the first element of this array contains the number of the correct answer for the first question, the second element - for the second question, and so on.

Modify the code of the previous lesson, taking into account the described.

← →
↑
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