-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathscripts.js
More file actions
20 lines (17 loc) · 858 Bytes
/
scripts.js
File metadata and controls
20 lines (17 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
document.addEventListener('DOMContentLoaded', () => {
const getStartedButton = document.querySelector('button:nth-of-type(1)');
const learnMoreButton = document.querySelector('button:nth-of-type(2)');
const createSiteButton = document.querySelector('button:nth-of-type(3)');
getStartedButton.addEventListener('click', () => {
alert('Get Started button clicked!');
// Add functionality to navigate to the getting started section or modal
});
learnMoreButton.addEventListener('click', () => {
alert('Learn More button clicked!');
// Add functionality to show more information or navigate to a different page
});
createSiteButton.addEventListener('click', () => {
alert('Create Your Site button clicked!');
// Add functionality to navigate to the site creation page
});
});