Skip to content

Commit aa1df0b

Browse files
committed
nav bar w/ experience
1 parent 120cd04 commit aa1df0b

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

index.html

+8-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,16 @@
1212
<body>
1313
<canvas id="bg"></canvas>
1414
<main>
15-
<nav>
16-
<ul>
17-
<a href="#">Home </a> |
15+
16+
<nav class="navbar">
17+
<div class="navbar-row">
18+
<a href="#">Home</a> |
1819
<a href="#about-section">About</a> |
1920
<a href="#projects">Projects</a>
21+
</div>
22+
<div class="navbar-row">
23+
<a href="#work">Experience</a>
24+
</div>
2025
</nav>
2126

2227
<header>

style.css

+9-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ blockquote p {
115115
}
116116

117117

118-
118+
/*code to change visited and hovering over links*/
119119
a:link {
120120
color: green;
121121
background-color: transparent;
@@ -138,4 +138,11 @@ a:active {
138138
color: yellow;
139139
background-color: transparent;
140140
text-decoration: underline;
141-
}
141+
}
142+
143+
.navbar {
144+
display: flex;
145+
flex-direction: column;
146+
}
147+
148+

0 commit comments

Comments
 (0)