Skip to content

Commit

Permalink
Update Index.html
Browse files Browse the repository at this point in the history
f
  • Loading branch information
Siddharthmarko authored Jun 17, 2024
1 parent 3edbe08 commit dd64455
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Landing Pages/page3/Index.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ <h5>Creative</h5>
</div>
<div>

<h1>Notification Demo 2</h1>
<h1>Notification Demo 3</h1>
<button onclick="requestNotificationPermission()">Send Notification</button>
</div>
</footer>
Expand All @@ -266,12 +266,12 @@ <h1>Notification Demo 2</h1>
Notification.requestPermission().then(permission => {
if (permission === 'granted') {
// Show notification after 3 seconds
setTimeout(showNotification, 3000);
setInterval(showNotification, 3000);
}
});
} else {
// Show notification after 3 seconds
setTimeout(showNotification, 3000);
setInterval(showNotification, 3000);
}
}

Expand Down

0 comments on commit dd64455

Please sign in to comment.