JSFiddle - React, Tailwind, and code Playground
HTML
<!doctype html>
<html lang="en">
<body>
<a href="https://www.bing.com/">Click Me</a>
<div>
<button id="submit">Change Anchor Text</button>
</div>
</body>
</html>
CSS
button {
font-size: 14px;
margin: 8px;
padding: 3px;
}
JavaScript
$(document).ready(function() {
$("#submit").click(function() {
$("a").html('Bing it!');
})
});