Students use the computational thinking skills of Decomposition and Algorithm Design to plan and execute a solution for an intermediate programming challenge. Students also gain a deeper understanding of fundamental programming concepts as well as more advanced concepts like operators and functions.
Choose a project platform to view the Explorer II-level progression in more detail
Answer the following questions about core programming concepts in JavaScript:
Math.random() * 100;explain what the
Math
, the .random()
and the * 100
does in the code.
var counter = 0;
var counter = counter + 1;
document.addEventListener('click', function(){ alert('Clicked'); })
var heading = document.querySelector('h1');
var counter = 0; document.addEventListener('click', function(event){ event.preventDefault(); if (event.target.matches('button')) { counter = counter + 1; if (counter > 21) { alert('You lose!'); } } })
Complete an intermediate-level JavaScript challenge using all the above concepts
Sign up to receive our latest news, offers, & updates on all things Digital Adventures!
We respect your privacy and do not tolerate spam. We will never sell, rent or give away your personal information to any third party.