Responsive Navbar Tutorial In ReactJS

  Рет қаралды 51,800

PedroTech

PedroTech

Күн бұрын

In this video I will teach you guys how to make a responsive Navbar using ReactJS. We will not use any library, it will be pure react and css. We also use Material UI Icons for the icons.
-
🚀 Learn ReactJS By Building 6 Projects: codedamn.com/l...
Please leave a comment on what topic you guys want me to cover next!
-
❤️ Support the Channel: / pedrotech
📞 Tutoring Session: www.fiverr.com...
💻 PedroTech Discord: / discord
-
Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Website: machadopedro.com
Twitter: / pedrotech_
Linkedin: / machadop1407
Instagram: / _pedro.machado_
Github: github.com/mac...
Email: machadop1407@gmail.com
Tags:
Responsive Navbar
Fetch
ReactJS Tutorial
ReactJS and MySQL
NodeJS Tutorial
API Tutorial

Пікірлер: 95
@INfoUpgraders
@INfoUpgraders 3 жыл бұрын
Being a full-stack dev, one of my most challenging things with frontend believe it or not, is that navbar.
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
I relate 100% hahaha
@ahmedmelfay
@ahmedmelfay 3 жыл бұрын
Totally agree
@fahisrahman
@fahisrahman 2 жыл бұрын
💯
@obinnailoanya8730
@obinnailoanya8730 2 жыл бұрын
I agree with you
@leomacdon7858
@leomacdon7858 Жыл бұрын
Thank you Pedro, your tutorial helps me and I really appreciate you. I was stuck but when I watch this , it helps what I was struggling for.. Great tut 👍
@df3ink
@df3ink 3 жыл бұрын
Excellent video! I've been searching for a bit on a tutorial like this that was easy to do and well explained. Found both here! Great work!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad it helped!
@CourageousCreatives
@CourageousCreatives 3 жыл бұрын
I just completed this and now have a responsive navbar! New to all this and was curious if you had a tutorial on a drop down option for one of the menu items? I'll be looking around for that next :) Thank you so much! I also grabbed your authentication code and am working on that. Thank you, thank you!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Awesome!! I don't have a dropdown tutorial, but I can defo do one! Good luck in ur coding journey!
@junjietan2668
@junjietan2668 3 жыл бұрын
That’s is amazing content about the responsive nav bar. Absolutely thumbs up for it. Easy and clear rather than using bootstrap/other layout design even though it has developed by the community. Keep the good work pedro!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you so much! Really appreciate your supportive comment!
@uggghhhh835
@uggghhhh835 2 жыл бұрын
This tutorial is excellent. I was looking for something easy to follow and your video is perfect. Thank you!
@seanmelodi
@seanmelodi 3 жыл бұрын
Thanks, @PedroTech. This video really helpt me out 👍 Was stuck with my navbar for one day until I found your video, solved it in 30 mins. 😁
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Hahaha I am glad it helped! Good luck!
@seanmelodi
@seanmelodi 3 жыл бұрын
@@PedroTechnologies I almost started to cry 🤣 Never thought it would be that hard to create a responsive navbar, without creating 2 separate navbars for mobile and desktop/tablets. Thanks for your time, and you now have a new sub 😃💯
@virtualshivam
@virtualshivam 3 жыл бұрын
Most impressive thing is that you have excellent teaching skills, Understood this is just one go.This helped me a lot. Thank you so much :). Hope you will soon make complete series on React
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you so much! I really appreciate the support, I love teaching but I am still learning. I will definitely make a react series!
@ndahayokevin7626
@ndahayokevin7626 2 жыл бұрын
Pedro is one of Tech youtubers that I admire much
@rafaelalexandre9045
@rafaelalexandre9045 3 жыл бұрын
Suas pausas com "éééé" entregam que é brasileiro hahaha. Valeu pelo vídeo e ótimo inglês também!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
KKkkkkkk obrigado mano!
@jcbnesh
@jcbnesh 2 жыл бұрын
You Are Awesome Bro.This Video Is Very Helpful for Me.Your Channel Has Great Videos.Thanks A lot
@domenicocucinotta2720
@domenicocucinotta2720 2 жыл бұрын
Amazing tutorial man, just what I needed! Looking forward for.more content!
@mkannan5157
@mkannan5157 3 жыл бұрын
Thanks, dude. Very informative and helped me with my stuff. Luckily, I didn't get the source from your Github and so watched the full video :) Keep it up !!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you liked it! I screwed up and deleted my repo hahaha but glad you got it to work!
@codefingers8957
@codefingers8957 3 жыл бұрын
Really grateful to you this did help me out!!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you!
@whoIsDeck
@whoIsDeck 3 жыл бұрын
Great work bro i was pissed of my code but yours is cleaner :)
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thakn you! Glad you liked the video!
@simoneraso556
@simoneraso556 2 жыл бұрын
Very good tutorial Pedro. Thank you!
@wictortec5627
@wictortec5627 3 жыл бұрын
Your videos is amazing, thanks Pedro.
@jacksonvaldez5911
@jacksonvaldez5911 2 жыл бұрын
Thank you so much. This was so darn helpful. Subbed!
@soldishero_YY
@soldishero_YY Жыл бұрын
Thank you for the lesson!
@b.i.p165
@b.i.p165 3 жыл бұрын
Thank you! This is just what I need!
@k303k
@k303k Жыл бұрын
thanks for the video pedro!
@marypaul9627
@marypaul9627 3 жыл бұрын
very good one my icons didnt show says the material ui yet i npm installled it...but everything else worked fine i enjoyed the video
@madurangavimukthi
@madurangavimukthi 3 жыл бұрын
Thanks for clear explenation
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad it was helpful!
@ironhunter2219
@ironhunter2219 2 жыл бұрын
Hello, great content as always. Quick question, how can I have the current link highlighted in the navbar or have it a different color. For example, if I am on the About us page, I want it to be blue in the navbar
@MegaArmien
@MegaArmien 3 жыл бұрын
I love your videos , mate . Keep going.
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thanks a lot! I appreciate it!
@igorgorbatovskiy4836
@igorgorbatovskiy4836 Жыл бұрын
Great job! Thank you!
@zakirashid4375
@zakirashid4375 2 жыл бұрын
Good job Sir Pedro !
@paultopham81
@paultopham81 3 жыл бұрын
great vid, not long winded like others! 👍
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you! Glad you liked it!
@mariynakircheva7113
@mariynakircheva7113 3 жыл бұрын
cool bro, very education, ty
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you enjoyed it
@tsdineshjai8565
@tsdineshjai8565 3 жыл бұрын
Thanks a lot for the Video Pedro :)
@lucasmaranhao3789
@lucasmaranhao3789 2 ай бұрын
Thank you. your english is understandable kkkkkkk. Congratulations
@akashshrestha01
@akashshrestha01 3 жыл бұрын
great
@nicolindenau3349
@nicolindenau3349 3 жыл бұрын
hey do you know how i can add a smooth transition when i click the botton so the bar ease in and out by clicking the button?
@codito7388
@codito7388 3 жыл бұрын
Nice. What program you use for editing photos banner?
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you! I use photoshop!
@harshupadhyay6130
@harshupadhyay6130 3 жыл бұрын
Thank you so much for your help
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you for watching!
@josephyekini4937
@josephyekini4937 2 жыл бұрын
Can you make a continuation of the video where there is a drop down
@ashikmuhammed8198
@ashikmuhammed8198 2 жыл бұрын
Thank you sir ❤️
@laughAFrame
@laughAFrame 3 жыл бұрын
when i write @media only screen and (max-width:800px) { .app{ display:none;} } it doesn't happen on screen size of 800px, it actually happens when the screen size gets to 500px. why does that happen? this only happens in the react projects. can you help me with this. Looks like it also happened in your tutorial too. you can see the media query works on the screen size that is less than the max-width given in the css.
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Hi, issues regarding media query is usually because two sizes collide. For example, if you have a media query for a size smaller than 800 that exists above the one for 800, then it will usually not work.
@laughAFrame
@laughAFrame 3 жыл бұрын
@@PedroTechnologies the media query works fine outside the react app. But it doesn't work in the app that I am working. Suppose I give a max-width of 800px,. A certain div has to disappear on 800px or below but it actually disappears whe the screen gets to 500px. I mean 300px are ignored
@nurlanmehdiyev7428
@nurlanmehdiyev7428 2 жыл бұрын
Thant you very much!
@hiromijorge400
@hiromijorge400 3 жыл бұрын
hi bro thanks for the tutorial, but i want to know how we can add a transition when the link is open when the button is clicked and also when the link is closed?? thankyou.
@maximilianorogers8477
@maximilianorogers8477 3 жыл бұрын
Very nice! Could you make a redux tutorial? I only know a little of redux, great content!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Hi, thank you! I actually don't use redux for state management, I prefer the Context API, so I don't know how to use redux, sorry bout that!
@laxmangiri5511
@laxmangiri5511 3 жыл бұрын
love youu mann
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
lmaoo glad you liked it!
@laxmangiri5511
@laxmangiri5511 3 жыл бұрын
@@PedroTechnologies ya bro i loved it
@nickjohnson4745
@nickjohnson4745 2 жыл бұрын
I noticed a bug in this, or at least when I built it I got this bug. If you open the nav drop down and then expand the screen, it keeps the drop down open even when you reach bigger screens because the isHidden state was never toggled off with a click.
@eduardonoronha3663
@eduardonoronha3663 2 жыл бұрын
So Good!
@toufikmouhmouh5695
@toufikmouhmouh5695 3 жыл бұрын
helpful thank you
@codegate615
@codegate615 2 жыл бұрын
do you have a vid on media queries?
@basterbuddy2769
@basterbuddy2769 2 жыл бұрын
How can I make the transition smooth instead of at an instant?
@marypaul9627
@marypaul9627 3 жыл бұрын
just subscribed
@jurgensubat2827
@jurgensubat2827 3 жыл бұрын
That was easy to learn. Thank you very much but I have one question. As soon as I click on one of my links the menu doesn't disappear. Only after another click of the button hide the navigation. I tried something without any success. Do you can tell me where I need to optimize my code?
@projectbasedcoding
@projectbasedcoding Жыл бұрын
You can add the onclick logic to the links as well. So they will also change the state
@wildbarbarianofthefuture8925
@wildbarbarianofthefuture8925 3 жыл бұрын
hello where can i look at the code
@quickTravel
@quickTravel 3 жыл бұрын
Great...Would be better if you include a logo in design...cause without a logo no website is exist..
@yasseelle
@yasseelle 3 жыл бұрын
great video great content keep forward
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you! Really appreciate it!
@softblood1941
@softblood1941 3 жыл бұрын
How can i write this as react module id={showLinks ? "hidden" : " " } like that: import styles from '../vnav.module.css'
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Well, for that you would have to be accessing the state in the module, so you would have to do that in some way (either props or global states). I honestly advise using either css files or a library like styled-components
@softblood1941
@softblood1941 3 жыл бұрын
@@PedroTechnologies OK thanks for the advice.
@simranbanwait
@simranbanwait 2 жыл бұрын
Nice
@irocksobad101
@irocksobad101 2 жыл бұрын
tutorial starts at 17:20
@mohamadsokhango7202
@mohamadsokhango7202 Жыл бұрын
The best🦸‍♂️
@fuadyanwar4930
@fuadyanwar4930 2 жыл бұрын
Wow thankyou so much. I'm dying try to figure out why my burger button not works. Its use state😭
@akashshrestha01
@akashshrestha01 3 жыл бұрын
what about using rem
@digitalhdr7768
@digitalhdr7768 2 жыл бұрын
nice
@GustavoWalienDev
@GustavoWalienDev 3 жыл бұрын
Hey man do you have this code on gtihub?
@maodigitalsolutionwebsited8834
@maodigitalsolutionwebsited8834 3 жыл бұрын
@pedro tech, where is the code?
@smurfaccount9192
@smurfaccount9192 3 жыл бұрын
@media query is not working at all
@securitytechtalk
@securitytechtalk 3 жыл бұрын
I want three sections into navbar
@akashshrestha01
@akashshrestha01 3 жыл бұрын
codes repo link?
@preethigunda9648
@preethigunda9648 3 жыл бұрын
i am getting errors
Responsive Navbar using React, React BootStrap and React Router Dom
11:15
React Hooks Course - All React Hooks Explained
1:26:21
PedroTech
Рет қаралды 1,1 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 82 МЛН
Миллионер | 1 - серия
34:31
Million Show
Рет қаралды 2,4 МЛН
Офицер, я всё объясню
01:00
История одного вокалиста
Рет қаралды 6 МЛН
Responsive Navbar Tutorial In React JS
22:11
Index-Zero
Рет қаралды 197 М.
All The JavaScript You Need To Know For React
28:00
PedroTech
Рет қаралды 625 М.
How To Create A Navbar In React With Routing
19:16
Web Dev Simplified
Рет қаралды 392 М.
Search Bar in React Tutorial - Cool Search Filter Tutorial
31:53
How To Master Frontend Development | Get a Job in 2024
10:45
Levi Okoye
Рет қаралды 15 М.
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 82 МЛН