deleted h1, and pops-title shows up in the sectionunder nav
This commit is contained in:
48
index.html
48
index.html
@@ -1,38 +1,34 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>Peter the Baker</title>
|
||||
<title>Peter Baker</title>
|
||||
|
||||
<!-- Optional: system fonts for speed; swap later if you like -->
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Iceland&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/resources/css/index.css" />
|
||||
<!-- Google Font -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Iceland&display=swap" rel="stylesheet">
|
||||
<link rel="stylesheet" href="/resources/css/index.css" />
|
||||
</head>
|
||||
<body>
|
||||
<header class="site-header">
|
||||
<img src="/resources/img/pb.png" alt="Portrait of Peter Baker" width="1280" height="372"/>
|
||||
<h1 class="site-title">Peter Baker</h1>
|
||||
</header>
|
||||
<header class="site-header">
|
||||
<img src="/resources/img/pb.png" alt="Portrait of Peter Baker" width="1280" height="372"/>
|
||||
</header>
|
||||
|
||||
<nav class="site-nav" aria-label="Primary">
|
||||
<ul>
|
||||
<li><a href="#social">Social</a></li>
|
||||
<li><a href="#projects">Projects</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<nav class="site-nav" aria-label="Primary">
|
||||
<ul>
|
||||
<li><a href="#social">Social</a></li>
|
||||
<li><a href="#projects">Projects</a></li>
|
||||
<li><a href="#contact">Contact</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<main id="main" class="content">
|
||||
<!-- Hero title that pops up from the top of nav -->
|
||||
<section class="hero">
|
||||
<h1 class="pop-title">Peter Baker</h1>
|
||||
</section>
|
||||
|
||||
<main class="content" id="main">
|
||||
<!-- your sections -->
|
||||
</main>
|
||||
|
||||
<footer class="site-footer">
|
||||
<small>© <span id="year"></span> Peter Baker</small>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
document.getElementById('year').textContent = new Date().getFullYear();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user