JavaScript onclick event with multiple functions

I have two buttons. Both have hyperlinks to IP addresses. My question is how can I redirect to the IP address & logout?

<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<h1 class=”logo”></h1>
<link rel=”stylesheet” type=”text/css” href=”style.css”>
<body>
<p><button onclick=”window.location.href = </button></p>

<button onclick=”window.location.href = </button>
</body>
</html>

Read more here:: JavaScript onclick event with multiple functions

Leave a Reply

Your email address will not be published. Required fields are marked *