This repository was archived by the owner on Apr 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -624,6 +624,7 @@ footer {
624
624
}
625
625
626
626
# edu-txt {
627
+ width : 760px ;
627
628
font-family : Poppins, sans-serif;
628
629
font-size : 1.5rem ;
629
630
font-weight : bold;
Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ <h1>Hello</h1>
68
68
< span > Here's who I am & what I do</ span >
69
69
</ div >
70
70
< div class ="btn ">
71
- < button class ="btn1 "> Resume</ button >
72
- < button class ="btn2 "> Projects</ button >
71
+ < button class ="btn1 " id =" btn-resume " onclick =" openPage('btn-resume') " > Resume</ button >
72
+ < button class ="btn2 " id =" btn-project " onclick =" openPage('btn-project') " > Projects</ button >
73
73
</ div >
74
74
< div class ="para ">
75
75
< p > I'm a paragraph. Click here to add your own text and edit me. It’s easy. Just click “Edit Text” or double click me to
Original file line number Diff line number Diff line change @@ -12,3 +12,11 @@ burgerr.addEventListener("click", () => {
12
12
body . style . overflow = "auto" ;
13
13
}
14
14
} ) ;
15
+
16
+ function openPage ( buttonId ) {
17
+ if ( buttonId === 'btn-resume' ) {
18
+ window . location . href = "resume.html" ;
19
+ } else if ( buttonId === 'btn-project' ) {
20
+ window . location . href = 'project.html'
21
+ }
22
+ }
You can’t perform that action at this time.
0 commit comments