- 💬 Ask me about coding and I may never shut up. LOL
- 📫 How to reach me: Resume or LinkedIn
- 😄 See My PORTFOLIO
- ⚡ Fun fact: ...really wanted to obtain the domain name VikingsCode.com since my family descended from Germanic Vikings!
- HTML, CSS, Javascript, C#, ASP.Net, React.js, Redux, Hooks, Context API, Jest, Yum, Axios, Ant Design, RESTful API Design, JSX
- Node.js, Express, SQL, PostgreSQL, Python, Git CLI, VS Code, Vercel, Heroku, Netlify, Postman
-
Agile Project Management, Algorithms, Architecture, Debugging, Deployment, Technical Project Management
- I'd like to formally thank Devin Mitchel for providing me with the base design to this project. He was an integral part in this overall product.
Fun facts about this project You may use...Click the checkbox next to my name to see a second option for navigation.
The reason Nav1.js
doesn't need sectionRefs
and scrollToSection
like Nav2.js
is due to the way these two components handle navigation:
-
Nav1.js
uses anchor links (<a href="#Projects">
):- Anchor links rely on the browser’s built-in behavior to scroll to the target section of the page with matching
id
attributes. - For example,
<a href="#Projects">Projects</a>
will automatically scroll the page to the section withid="Projects"
without needing any JavaScript to manage the scroll behavior. - The browser takes care of this by jumping directly to the target section when the user clicks the link.
- Anchor links rely on the browser’s built-in behavior to scroll to the target section of the page with matching
-
Nav2.js
uses JavaScript withscrollToSection()
:- Instead of relying on anchor links,
Nav2.js
manually triggers the scrolling behavior using thescrollToSection
function. - This approach allows more control over the scrolling (e.g., smooth scrolling) by programmatically calling
scrollToSection(sectionRef)
to scroll to the specific section.
- Instead of relying on anchor links,
Nav1.js
is simpler because it uses the default behavior of anchor links, which automatically work as long as there are matchingid
attributes in the sections (e.g.,<div id="Projects">
).Nav2.js
requiresscrollToSection
andsectionRefs
because it doesn't rely on anchor links. Instead, it manually calls the scrolling logic using JavaScript, which allows more customization (e.g., smooth scrolling and handling events).
- Anchor links (
Nav1.js
): Best for simple, default navigation behavior. - JavaScript-based scrolling (
Nav2.js
): Useful when you need more control over how and when scrolling happens (e.g., smooth scrolling or custom scroll behavior).