Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
About this part of the project:
I wanted to give this project a functionality for the mobile version so it can appear a hamburger icon,
the user can click on it so all the links can be displayed vertically in a bar named BurgerButton.jsx
I used for it a hook named useState, and created a function named handleClick, I also imported a library named styled-components so I can give the style directly in the component.
I used also ternary operators to add a conditional functionality in my Navbar function.
Besides of it, I created another component named BurgerButton.jsx
The BurgerButton component is passing properties as parameters, including a handleClick method.
When the user clicks on the hamburger icon, the handleClick method is called, and the clicked prop determines
whether the icon should appear as open or closed. The three elements represent the lines of the hamburger icon.