0

I'm trying to allow the "About Me" button to navigate to the page but having difficulty

<center>
 <nav>
 <div id="about">
     <h3><p><input type="button" value="About Me" onClick="onClick()">
     <input type="button" value="Education" onClick="clicked">
     <input type="button" value="Experience" onClick="clicked">
<div id="contacts">
     <input type="button" value="Contact" onClick="function" ></p></h3>
     <script>type="text/JavaScript" src="js/contact.js"></script>
 </nav>
</center>

here is the about page:

  onClick="onclick"() {
 <DOCUTYPE html>
 <html lang="eng">
 <head>
 <title>About Me</title>
 <meta charset "utf 8>
</head>
<body>
 <var cont=document.getElementById('About Me');
<center>
<article>
 <header>
        <h1>About Me</h1>
    </header>
     }
 
  • You've also got multiple syntax errors in your example and usage of a deprecated tag like `center`, I'd focus on those first. – Chris W. Apr 18 '22 at 02:31

0 Answers0