Advertisement
Guest User

HTML + JS Problem (Anchors/links are not working)

a guest
Jan 18th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.98 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang ="en">
  3.   <head>
  4.     <title>JavaScript &amp; Exercise #7</title>
  5.     <meta charset="UTF-8">
  6.     <link rel="stylesheet" type="text/css" href="assg7-content/c06.css">
  7.     <link href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,500,500i,700,700i,900,900i" rel="stylesheet">
  8.   </head>
  9.   <body>
  10.  
  11.  
  12.     <div id="page">
  13.       <h1>List King</h1>
  14.       <h2 id="noteName">Audio Note</h2>
  15.       <form action="http://example.org/">
  16.         <label for="noteInput">Enter note name:</label>
  17.         <input type="text" id="noteInput" />
  18.         <div id="buttons">
  19.           <a data-state="record" href="">record</a>
  20.         </div>
  21.       </form>
  22.      </div>
  23.  
  24.  
  25.       <!--Return to home-->
  26.       <h6><a href='index.html'><img id="home" src ="Site-Images/home-icon.png" alt ="home"></a></h6>
  27.       <!--Return to home-->
  28. <!--Another problem..the javascript file affects ANY URLS-->
  29.     <script src="assg7-content/ex07.js"></script>  
  30.   </body>
  31. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement