JavaScript
5
Вклад в тег
var items = document.getElementsByClassName('item');
for (var i = 0; i < items.length; i++) {
items[i].addEventListener('click', function () {
...
});
}
var today = new Date();
var then = new Date(today.getTime() + 2*60*60*24*1000);
document.getElementById('data').innerText = then.getDate();