test #11

Merged
robert merged 9 commits from test into master 2023-02-16 09:24:15 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 0d7fbc8313 - Show all commits

View File

@ -10,6 +10,8 @@ function setEvents() {
const heartEl = document.querySelector('body > h1 > span');
heartEl.addEventListener('click', function() {
const key = prompt('Introduce la clave');
console.log('key', key)
if (key === null) return
localStorage.setItem('vnKey', key);
});