How can I connect 3 languages? (HTML, CSS, and JS)
For example;
<a href="#">Hello</a>
// When this a element is clicked on it activates this java element...
prompt("Hello there!");
How can I connect 3 languages? (HTML, CSS, and JS)
For example;
<a href="#">Hello</a>
// When this a element is clicked on it activates this java element...
prompt("Hello there!");
Hey Goldendraws,
Take a look at How to connect HTML with JavaScript and How to connect HTML with CSS.
i guess you are going to need the onclick event, mdn has documentation on it, you can find it here