Mastering DOM manipulation with vanilla JavaScript