Skip to content

Commit

Permalink
usando funcionalidad de agregar notas
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Liendo committed Jan 17, 2024
1 parent f032a41 commit e775147
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ function editElement() {
var description = document.getElementById('description').value;

if ((title, description)) {
console.log('Title: ' + title);
console.log('Description: ' + description);
createNote(title, description, new Date());
} else {
alert('Please, fill outs all fields.');
}
Expand Down

0 comments on commit e775147

Please sign in to comment.