This is apart of the 50 projects in 50 days challenge and is the third project.
- To create rotative navigation bar that rotates the page, once clicked. The challenge involves HTML, CSS and Javascript.
- Source code: https://github.com/romila2003/Rotating-Navigation-Animation
- Live website: https://rotating-navigation-animation-main.netlify.app/
- Semantic HTML5 markup
- Plain CSS
- Vanilla Javascript
- Flexbox
I learned more about the navigation bar and the transform
property within the CSS.
Javascript - close and open navbar:
open.addEventListener("click", () => {
container.classList.add("show-nav");
})
close.addEventListener("click", () => {
container.classList.remove("show-nav");
})
For future developments, I should learn more concepts of javascript and implement those within new projects.
- Twitter - @romila003
- Frontend Mentor - @romila2003