Add even listener

so im trying to add google calendar to my website using either a, a tag or a button, i want to write a JS to click on the button and get the google calendar from the div.

Do you want the JavaScript to toggle hide and show the div??

no, i want when clicked, it take them to my calendar to set an apointmnet

Provide a link to the calendar using an anchor tag
Book appointment

i was trying to use this:

<a href=“”>schedule an appointmen

schedule an appointment
then i would paste the google link in the href

all im trying to do is adding google calendar to my website,