Skip to content

Commit

Permalink
added timer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulyana0505 committed Sep 26, 2023
1 parent a28a3f4 commit e92c24e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ title_2.style.color = "#E75480";
var body = document.getElementById('body');
body.style.backgroundColor = "#FFC0CB";

var whattheysaid = confirm("Красиво?");
console.log(whattheysaid);
setTimeout(whattheysaid, 5000);

function whattheysaid() {
confirm("Красиво?");
console.log(whattheysaid);
}

var counter_button = 0;

Expand Down

0 comments on commit e92c24e

Please sign in to comment.