html

iterating through javascript

const sample1 = document.querySelector(‘.sample-1’);
const sample2 = document.querySelector(‘.sample-2’);
const sample3 = document.querySelector(‘.sample-3’);
const sample4 = document.querySelector(‘.sample-4’);
const sample5 = document.qu…