Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
sinnyye committed Jan 8, 2024
1 parent cd52a29 commit 47e00c1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
36 changes: 19 additions & 17 deletions main.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,34 @@
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Sinny's Portfolio</title>
<link rel="stylesheet" type="text/css" href="styles/site.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Sinny's Portfolio</title>
<link rel="stylesheet" type="text/css" href="styles/site.css">
</head>

<body>
<body>

<nav>
<ul>
<li>
<a href="index.html">Home</a>
</li>
<li>
<a href="main.html">Main</a>
</li>
<nav>
<ul>
<li>
<a href="index.html">Home</a>
</li>
<li>
<a href="main.html">Main</a>
</li>


</ul>
</nav>
</ul>
</nav>

<p> this is the main page </p>



<script src="scripts/jquery-3.7.1.js"></script>
<script src="scripts/script.js"></script>


</body>

</html>
</html>
2 changes: 1 addition & 1 deletion scripts/script.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
document.getElementById('redirectToMainButton').addEventListener('click', function() {
window.location.href = 'main.html';
}
})

0 comments on commit 47e00c1

Please sign in to comment.