Whenever I try and link another page it shows not found

Question:


Repl link:

<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>replit</title>
  <link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<center>
<table>
  <tr>
    <td>
  <a href= “https://replit.com/@Marmalade0/SDGweb#NoPoverty.html”>
    <button>Goal 1</button>
</a>
    </td>
    <td>
      <a href= “https://replit.com/@Marmalade0/SDGweb#GoodHealth&Welbeing.html”>
    <button>Goal 3</button>
    </td>
    <td> 
      <a href= “https://replit.com/@Marmalade0/SDGweb#QualityEducation.html”>
    <button>Goal 4</button>
    </td>
    <td>
      <a href= “https://replit.com/@Marmalade0/SDGweb#ClimateAction.html”>
    <button>Goal 13</button>
    </td>
    <td> 
  <a href= “https://replit.com/@Marmalade0/SDGweb#LifeBelowWater.html”>
    <button>Goal 14</button>
</a>
    </td>
  </tr>
</table>
 </center>

  

Hi @Fridge thanks for your question.

The reason the links aren’t opening new pages is because you are using a hashtag in the page name e.g.

<a href= “https://replit.com/@Marmalade0/SDGweb#LifeBelowWater.html”>

should be

<a href= “https://replit.com/@Marmalade0/SDGweb/LifeBelowWater.html”>

I just visited your site and it looks like you’ve resolved your own issue but please confirm it is now working here.

1 Like