Responsive Navbar in React using React Router | Beginner Tutorial

  Рет қаралды 134,589

Code Complete

Code Complete

Күн бұрын

Пікірлер
@Code_Complete
@Code_Complete 10 ай бұрын
Have questions or feedback? Head over to our Discord server! discord.gg/TWBtv5an7N Solve advanced programming challenges and become an expert software engineer with CodeCrafters! 40% discount on your membership - app.codecrafters.io/join?via=CodeCompleteYT
@chrisdavis1508
@chrisdavis1508 8 ай бұрын
I loved how you broke down the 'why' as you were going along! that was SUPER helpful from a backend guy that struggles with the 'WHY' of CSS!! Thank you
@Code_Complete
@Code_Complete 7 ай бұрын
CSS can be confusing sometimes haha, glad it helped!
@Ace-n3t
@Ace-n3t 7 ай бұрын
Midway through the video, I wanted to make the same color. I really appreciate all the why explanations. Great video.
@Nop3.1
@Nop3.1 9 ай бұрын
I really appreciate this man. There a billion ways to make a navbar and very few of them are friendly to the beginner. thanks for the introduction!
@Code_Complete
@Code_Complete 9 ай бұрын
Glad I could help!
@Sami_27bnr
@Sami_27bnr 26 күн бұрын
Worked just the way it should, I found out you can add some cool transitions to the menu bar using this line of code on Css. (colour is of course of your choosing!) nav .menu:not(.active):hover { background-color: #40703a; padding: 4px; /* Adjust padding to increase the size */ transition: all 0.2s ease; /* Smooth transition effect */ border-radius: 4px; /* Optional: Adds rounded corners */ }
@sth7721
@sth7721 2 ай бұрын
Explained in a manner that it became easy to understand for beginners like myself. Thanks a lot!
@lrachelparaiso7334
@lrachelparaiso7334 10 ай бұрын
Clear, precise & very helpful! 👍👍👍Thank you…pls keep making these tutorials! ✅✅✅
@sengutengu
@sengutengu 2 ай бұрын
Great video! I'm a beginner at React and your video has helped me so much.
@user-ee9ex1hz2p
@user-ee9ex1hz2p 3 ай бұрын
This is clear and so simple and so helpful!
@MardyDev
@MardyDev Жыл бұрын
I’m 3 mins in and I’m already sure this would be prefect for me. Love your style of explanation. Precise, straight to the point and your pronunciation is clearest I’ve heard from an Indian KZbinr🤌🤍
@Sebastian231995
@Sebastian231995 17 күн бұрын
Amazing tutorial!! Really easy to understand!
@fletcherrat337
@fletcherrat337 Жыл бұрын
Exactly what I needed right when I needed it. Ty for the vid and the repo!! Really helpful to a beginner
@25-cse-csmohitkumarmandal59
@25-cse-csmohitkumarmandal59 9 ай бұрын
Easiest Explanation to the point ❤❤
@Code_Complete
@Code_Complete 9 ай бұрын
Glad you think so!
@godofwar8262
@godofwar8262 Жыл бұрын
Keep making videos Don't stop
@Gaamaa-oz5ef2lf3n
@Gaamaa-oz5ef2lf3n 8 ай бұрын
Simple and excellent explanation ! 4 star
@faizaislam6191
@faizaislam6191 7 ай бұрын
very helpful and easy to understnad especially for beginner, thank you
@senalchandrasekara8874
@senalchandrasekara8874 Жыл бұрын
Great vid! A tad bit of feedback if I may, the menu doesn't close when clicked elsewhere (Need to click specifically on the hamburger lines). A simple solution might the use of useEffect hook to listen for a mouse click and gauge whether it is within the borders of the menu or not, and then the useRef hook to refer to the relevant div in the rendered HTML and ensure the open/close state of the menu is toggled accordingly. current.contains(e.target) returns a boolean indicating whether the click was within the borders of the menu or not.
@annetantanella5913
@annetantanella5913 2 ай бұрын
You can also attach a callback function to the link components onClick. If the value of menuOpen is true, set it to false. Example: Movies
@mbalizungu4330
@mbalizungu4330 Ай бұрын
Absolutely super gorgeous. What a stellar tutorial, thank you so much.
@abhinand665-t8l
@abhinand665-t8l 7 ай бұрын
Thank you... Excellent tutorial
@iarawy.
@iarawy. 3 ай бұрын
That’s a GREAT video, although I want to see how can we make the menu to switch to an X then to lines
@rhamseysgarcia2287
@rhamseysgarcia2287 Жыл бұрын
Best up to date tutorial
@lalaniwerake881
@lalaniwerake881 Жыл бұрын
great tutorial!. Thank you!!!
@noohkot
@noohkot 6 ай бұрын
Thanks for the super helpful video! I really love your explanation along the way! Keep up the good work!
@usamashahid6701
@usamashahid6701 Жыл бұрын
Excellent Tutorial..
@aligmayu5322
@aligmayu5322 8 ай бұрын
GOOD JOB BROTHER THANK YOU SO MUCH
@ayshasaddi8963
@ayshasaddi8963 9 ай бұрын
Great video! Thanks!
@Code_Complete
@Code_Complete 9 ай бұрын
Glad it helped!
@dreamspiring04
@dreamspiring04 2 ай бұрын
Thank you so much!
@gajanankanekar9118
@gajanankanekar9118 4 ай бұрын
Thank you very much for your help
@devrodSantos
@devrodSantos 9 ай бұрын
Thank you very much
@abduab5453
@abduab5453 9 ай бұрын
thank you
@CodeJourneyWithRahul
@CodeJourneyWithRahul 9 ай бұрын
Thanks
@gohelboy
@gohelboy 11 ай бұрын
Great video
@always_code
@always_code 10 ай бұрын
Wow Excellent Video🤩🤩🤩
@Code_Complete
@Code_Complete 10 ай бұрын
Thank you! Cheers!
@jasim17
@jasim17 8 ай бұрын
pls explain difference between BrowserRouter vs createBrowserRouter.. and make a tutorial for it..
@ЕленаЛенивцева-ц9э
@ЕленаЛенивцева-ц9э 9 ай бұрын
Я еще добавила функцию, которая закрывает меню после перехода по ссылке. Возможно, стоит давать классы по БЭМ или же использовать css-модули. Но в целом мне все нравится, спасибо)
@Shaburu69
@Shaburu69 Жыл бұрын
around the 22:52 mark how do you get the background to take the entire 100% width? the same CSS doesnt work for me haha
@malcomk
@malcomk 9 ай бұрын
Sir, around 9:30 as soon as we start adding route, the website started go white. And nothing shows since then even though I continued following the instruction and updated css for nav, app, etc. would you have any idea why the pages go blank as soon as I started writing code with routes?
@MrRoy69
@MrRoy69 9 ай бұрын
same issue did you resolved it?
@eslamesco2854
@eslamesco2854 2 ай бұрын
import it pro like as he write it , it auto import at the top or write it like that
@chaand3423
@chaand3423 Жыл бұрын
good stuff, well explained too :D
@aryangohel9967
@aryangohel9967 11 ай бұрын
Thank a lot sir helped me a lot ❤
@reconnect3342
@reconnect3342 8 ай бұрын
Thanks..Man !
@ferrouswroughtnaut3230
@ferrouswroughtnaut3230 Жыл бұрын
Nice Tutorial
@abhinavs2484
@abhinavs2484 9 ай бұрын
Awesome! appreciate!
@Anonymous____________A721
@Anonymous____________A721 10 ай бұрын
Excellent
@NtlonieManci
@NtlonieManci 6 ай бұрын
Thank you 🙏
@Pubg9812-h2u
@Pubg9812-h2u Жыл бұрын
love you bro live long life
@jawadsherazi6954
@jawadsherazi6954 Жыл бұрын
Thank you So much
@shamsliaqat4732
@shamsliaqat4732 11 ай бұрын
Thanks Buddy
@Threenineswon20racks
@Threenineswon20racks Жыл бұрын
I probably missed something , but how are you rendering this to the page without “export default App;”
@velumani2980
@velumani2980 Жыл бұрын
How to routes to single page web apps like portfolio, (i.e). When the touch the navber that scroll down to that content..
@bigazTV
@bigazTV Жыл бұрын
I use react-scroll module and also useLocation
@sujatha204
@sujatha204 10 ай бұрын
shall we write in visual studio code? because the files are in jsx
@Code_Complete
@Code_Complete 10 ай бұрын
Yup you can use VS Code or any editor you like, just know that when using Vite you have to name the files .jsx
@sujatha204
@sujatha204 9 ай бұрын
Tq🎉​@@Code_Complete
@devl0ver666
@devl0ver666 4 ай бұрын
I subscribed
@ParasProgramming123
@ParasProgramming123 Жыл бұрын
in my case this active link color also appears for website what should i do
@azka-c6q
@azka-c6q 3 ай бұрын
your voice is so beautiful
@DailyMadnesz
@DailyMadnesz Жыл бұрын
Hey man, I've been looking for someone that can tell me what the cpm for react tutorials channels is. could you please tell me what the current cpm is?
@Addy_1121
@Addy_1121 Жыл бұрын
How can we animate the drop-down list when the bars are clicked Plz help
@swarup868
@swarup868 6 ай бұрын
why sapn elements are used
@madhankumar__2131
@madhankumar__2131 17 күн бұрын
@shoaibms-012
@shoaibms-012 8 ай бұрын
abe yrr ky akr raha he link add krna acche se samjhana tha khan kon si cheez import karni he tu laga hua styling karne
@AjayParihar-r5o
@AjayParihar-r5o Жыл бұрын
ul taking space and it is not proper
@julianadelosrios9876
@julianadelosrios9876 Жыл бұрын
help please Uncaught TypeError: Cannot destructure property 'basename' of 'React2.useContext(...)' as it is null. at LinkWithRef (index.tsx:529:11) at renderWithHooks (react-dom.development.js:16305:18) at updateForwardRef (react-dom.development.js:19226:20) at beginWork (react-dom.development.js:21636:16) at beginWork$1 (react-dom.development.js:27426:14) at performUnitOfWork (react-dom.development.js:26557:12) at workLoopSync (react-dom.development.js:26466:5) at renderRootSync (react-dom.development.js:26434:7) at recoverFromConcurrentError (react-dom.development.js:25850:20) at performConcurrentWorkOnRoot (react-dom.development.js:25750:22)
@jayson8111
@jayson8111 10 ай бұрын
i have the same error, how do you solve this?
How To Create A Navbar In React With Routing
19:16
Web Dev Simplified
Рет қаралды 401 М.
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 185 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 4,8 МЛН
How to Create Responsive Navbar with React & Tailwind
18:46
How to Web Dev
Рет қаралды 9 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 812 М.
Make a Search Bar with React (with API Calls) | Beginners Tutorial
27:49
How to create a Responsive Navigation Bar (for beginners)
15:21
Coding2GO
Рет қаралды 480 М.
Learn React Router v6 In 45 Minutes
46:20
Web Dev Simplified
Рет қаралды 570 М.
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 185 МЛН