Sidebar Navigation Menu Tutorial ReactJS - Beginner Navigation Tutorial

Поделиться
HTML-код
  • Опубликовано: 26 окт 2020
  • In this video I will show you guys how to make a responsive Sidebar In React Js. I showed you guys how I do this in an old video, but I wanted to make a video specifically to show this.
    -
    Please leave a comment on what topic you guys want me to cover next!
    -
    📞 Tutoring Session: www.fiverr.com/share/pw8RPY
    👕 Programming Merch: teespring.com/stores/pedrotech
    💻 PedroTech Discord: / discord
    -
    CODE: github.com/machadop1407/Sideb...
    -
    Social
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Website: machadopedro.com
    Twitter: / pedrotech_
    Linkedin: / machadop1407
    Instagram: / _pedro.machado_
    Github: github.com/machadop1407
    Email: machadop1407@gmail.com
    Tags:
    - Sidebar in ReactJS
    - Responsive SIdebar
    - ReactJS Tutorial
    - ReactJS and MySQL
    - NodeJS Tutorial
    - API Tutorial
  • НаукаНаука

Комментарии • 263

  • @anujpartihar
    @anujpartihar 2 года назад +8

    Thanks Pedro! This was extremely helpful since you also took time to explain the why behind every snippet, rather than stopping at the how, which is hard to find in a tutorial. Good Luck!

  • @saidmaroc8448
    @saidmaroc8448 2 года назад

    I just saw this old post and simply you have progressed a lot
    It's by practicing that you become a blacksmith
    continue Pedro

  • @ollyevee
    @ollyevee 2 года назад

    Oh yes, this one right here, is the tutorial you'll need to make a react sidebar dashboard type of menu. Thank you so much Pedro!

  • @Dlntck
    @Dlntck 2 года назад

    Pedro, you are the best ! This is exactly what I needed, thank you so much

  • @timothyvandeweerd946
    @timothyvandeweerd946 Год назад

    Thank you, this was just what I was looking for. I appreciate your work!

  • @joshuamakula5736
    @joshuamakula5736 2 года назад +2

    thank you so much Pedro. You are really a very good teacher as you took time to explain the reason behind every step you make

  • @molokochris
    @molokochris Год назад

    found this video right when i needed it.. Thanks Pedro!

  • @matthewhawkins3697
    @matthewhawkins3697 2 года назад +2

    Thanks so much for the guide! I'm trying to make the last part work (staying highlighted depending on pathname), and was curious if there is a way to do this based on the ID of a focused section in a single page website? I haven't gotten that part figured out yet. Thanks again for the thorough guide!

  • @shangshi7467
    @shangshi7467 3 года назад +1

    Thank you very much for this tutorial! saved my life!

  • @joanne8012
    @joanne8012 Год назад

    Thank you Pedro! This was so helpful!

  • @bellyndayikeza4799
    @bellyndayikeza4799 9 месяцев назад

    thanks man it was really helpful

  • @aes0p895
    @aes0p895 9 месяцев назад

    very helpful, thanks. looks really nice.

  • @MoodyOmar
    @MoodyOmar 2 года назад +2

    nice video mate , I liked it, I hoped that you would make the sidebar shrink to the point where is only icons and can grow back with icons and titles . or changing a components in the right area instead. subscribed too.

  • @ndubuisinwabueze9376
    @ndubuisinwabueze9376 2 года назад

    Thanks pedro. This video was very informative, it would be nice if you can create another video that displays text in each of the links you click and possibly link it to a JSON file server to show data stored, so people can see how to navigate this intuitive web app

  • @maximocipriani
    @maximocipriani Год назад

    Muchas gracias era lo que estaba buscando, muy completo pero simple

  • @monome3038
    @monome3038 2 года назад +1

    Appreciating the efforts you put in your videos! Thank you. Can you please share the ReactJS related extensions you use for Vsocde

  • @henryc.nnamani7842
    @henryc.nnamani7842 7 месяцев назад

    Thanks for this ❤️❤️

  • @Jgv1919
    @Jgv1919 Год назад +3

    Pedro, What is missing and it would be perfect will be if the instruction to display a page with data on it. That is really what is expected. I created pages for the menu but can't make it happen to get to the page.

  • @techsol3233
    @techsol3233 2 года назад

    Excellent video. Very explanatory and efficient.

  • @khadkasubarnabijaya
    @khadkasubarnabijaya 3 года назад +1

    Explained so well! Thanks PedroTech!

  • @aimananderil
    @aimananderil 2 года назад

    This is insanely genius.

  • @Jgv1919
    @Jgv1919 Год назад

    Okay! Great video. I got it. One thing I need to know is how to populate the information of those links eg. home,mailbox, etc and display the data or information on the page once click

  • @eliyir
    @eliyir 2 года назад

    Thank you so much Pedro!

  • @thayron7451
    @thayron7451 3 года назад +1

    muito bom o seu conteúdo. Estudei seu código pois estava querendo deixar o campo do icon selecionado e isso me proporcionou varias ideias bacanas. parabém pelo vídeo e sua organização do código no git.

  • @aisajemilajem9556
    @aisajemilajem9556 Год назад

    Thank you for a very well explained video.

  • @vickykimathi9476
    @vickykimathi9476 Год назад

    Thanks! Good video and nice explanation

  • @toyosisalami6453
    @toyosisalami6453 2 года назад

    Thank you so much for this really educative and easy-to-understand tutorial!

  • @franklinmako
    @franklinmako 3 месяца назад

    Thank you Pedro

  • @AshwiniKondalakadu
    @AshwiniKondalakadu 2 года назад

    This is a really cool video.. appreciate it... Thanks a lot 🙏

  • @siddharthamukherjee9081
    @siddharthamukherjee9081 3 года назад +6

    bro much appreciated what you have done with this video but the I am not getting the source code while clicking the link that you provide. Actually, it opens something different code which is basically for image carousel using react. Can you please provide me the actual link to this particular code. Thanks, Siddharth from Kolkata, India

  • @A__HabbanMasykurAbdullah
    @A__HabbanMasykurAbdullah 2 года назад +1

    bro idk how to say thanks for everything , i have some homework to create web you make me can feel better thanks

  • @huseyinbadukgib7318
    @huseyinbadukgib7318 2 года назад

    Thank you pedro. Awesome

  • @dhanushkumar673
    @dhanushkumar673 Год назад

    was very usefull the explanation part

  • @wildessousa7656
    @wildessousa7656 Год назад

    Thanks Pedro!

  • @suriyaas4877
    @suriyaas4877 Год назад

    Thanks was helpful

  • @srisangeeth4131
    @srisangeeth4131 Год назад

    Thanks for the video bro🥰🥰🥰🥰

  • @rationalpi6755
    @rationalpi6755 3 года назад

    Very good video, thank you!

  • @muhammadmohsinhussain5428
    @muhammadmohsinhussain5428 Год назад

    Thanks Dear Pedro ! I learn very much from you. Please start teaching freelancing on upwork and fiver.

  • @thiagomenezes6968
    @thiagomenezes6968 2 года назад

    Awesome and helpful content

  • @nandopookey9195
    @nandopookey9195 Год назад

    Thank you so much sir

  • @SpLiNt3R1998
    @SpLiNt3R1998 6 месяцев назад

    thank u so much ❤❤❤❤

  • @zwangamukwevho6669
    @zwangamukwevho6669 Год назад

    Wonderful tutorial👍

  • @vigneshkalithas4276
    @vigneshkalithas4276 2 года назад

    Thanks pedro ❤

  • @RAHULYADAV-rw4xj
    @RAHULYADAV-rw4xj 3 года назад +1

    Great Explanation Thank you ! suscribed

  • @numbersandmoney9606
    @numbersandmoney9606 2 года назад +1

    great. I like like like the method you teach. easy to understand. it is very helpful to me

  • @marthecoubard8983
    @marthecoubard8983 2 года назад +1

    thank you for this tutorial I learnt a lot.

    • @PedroTechnologies
      @PedroTechnologies  2 года назад

      Glad it was helpful!

    • @Jgv1919
      @Jgv1919 Год назад

      @@PedroTechnologies Pedro, there are many requests here but I have not seen any replies from you to answer. For example, displaying the home page element with data, and others. otherwise this is a great beginner into course!

  • @cauvery1
    @cauvery1 Год назад

    Thank you Pedro. It is much helpful tutorial.
    The git repo points to different example on react. Can someone provide link to the git repo related this video.

  • @msabtainanwar1435
    @msabtainanwar1435 3 года назад +1

    Thats video really Awsome for me because "window.location.pathname" is answer of my problem .. Thank you so much

  • @mmhgarcia
    @mmhgarcia 2 года назад

    Great !! Really helped me. Regards.

  • @cyrilgavrosh4194
    @cyrilgavrosh4194 Год назад

    Hi! Thaks for this video. Can you answer on my question?
    How to create navigation these with Routes?

  • @albertoblackburn
    @albertoblackburn 3 года назад

    Thanks Pedro, nice job could you make it Dropdown List??

  • @themiyajayakodi4052
    @themiyajayakodi4052 3 года назад +3

    I subscribe you. Every thing was clear and perfect presentation.❤❤ and do more videos like this react UI desgin.Thank you

    • @PedroTechnologies
      @PedroTechnologies  3 года назад +2

      Thanks for the sub! I am planning on some material UI stuff, or maybe some pure css and html stuff too!

    • @themiyajayakodi4052
      @themiyajayakodi4052 3 года назад

      @@PedroTechnologies Yap, That's Good idea 💡and I have kind request.If you can make a video react js + Python login with database,it is very help full for us.

    • @Spookydigy
      @Spookydigy 2 года назад

      @@PedroTechnologies great video. how can I link these to real pages using router? do I import each new page and add the name/path into the link instead of just putting /home?

  • @nicetomeetugaming7024
    @nicetomeetugaming7024 Год назад +1

    Good one.

  • @prabhakarmishra2182
    @prabhakarmishra2182 2 года назад

    Very well explained, please make videos on MUI v5

  • @ibrahimaliyev9908
    @ibrahimaliyev9908 Год назад

    Great job!

  • @aimashaikh3860
    @aimashaikh3860 3 года назад +2

    loved the video subscribed :)

  • @RehanKhan-xf3ml
    @RehanKhan-xf3ml 6 месяцев назад

    Thank you so much for the efforts, i think the repository URL is invalid please update the reppo-url in the description

  • @leonmusavili8825
    @leonmusavili8825 Год назад +1

    Appreciate the tutorial, is there a way to access the source code? current link leads to an image carousel repo

  • @tedmosby1900
    @tedmosby1900 3 года назад +1

    This is awesome!

  • @brothersofgenration9185
    @brothersofgenration9185 Год назад

    Hey great tutorial but when I am trying to add a form besides the side nav it is going below it rather then being on side can you please help me how to deal with it

  • @lucasgomesdev
    @lucasgomesdev Год назад

    ty man, this (const isActive = window.location.pathname === href) saved my life

  • @prashinmore2251
    @prashinmore2251 3 года назад +1

    U r too good thanks a lot never subscribed faster

    • @PedroTechnologies
      @PedroTechnologies  3 года назад +1

      Hahaha thank you so much! Really appreciate the. support!

  • @musawenkosisangweni3689
    @musawenkosisangweni3689 Год назад

    Hi,
    Using this tutorial, How do I navigate to the next page so that the content of that page is displayed instead of just linking to it?

  • @vedantsingh6966
    @vedantsingh6966 3 года назад +3

    dude!! that was dopeeeee... really appreciate the work. can you plz extend this vid with hamburger icon ??

    • @PedroTechnologies
      @PedroTechnologies  3 года назад

      Thank you! I have a video on how to make a responsive navbar which shows how to make a hamburguer menu!

    • @vedantsingh6966
      @vedantsingh6966 3 года назад

      @@PedroTechnologies couldn't find it!... Drop the link here, that'd be of great help 😊

  • @vikassinghbisht7491
    @vikassinghbisht7491 2 года назад

    great job broo...... thnkeww

  • @manik7452
    @manik7452 3 месяца назад

    thank you

  • @tinackaz3453
    @tinackaz3453 3 года назад

    Hi Pedro,how do I get to the side navbar fixed and all other pages get to appear on the right side of the navbar.

  • @ohm_chiluka
    @ohm_chiluka Месяц назад

    Did you create the project by yarn?

  • @khoilam7569
    @khoilam7569 3 года назад +3

    Thanks good job from Việt Nam

    • @PedroTechnologies
      @PedroTechnologies  3 года назад

      Glad to see u here! Thank you!

    • @khoilam7569
      @khoilam7569 3 года назад

      @@PedroTechnologies i want u update more video to react website

  • @pramudithajayawardhana8753
    @pramudithajayawardhana8753 2 года назад

    Thanks

  • @KrishnaKumar-jj6uo
    @KrishnaKumar-jj6uo 2 года назад

    You are the best.

  • @shihadop
    @shihadop 2 года назад

    thanx brow

  • @znkdev
    @znkdev Год назад

    Hey, cool, I know I am late but, on the links, I would like to add an external link... instead a "inside page". How can I do that? Thanks!

  • @gabrielgoncalves4009
    @gabrielgoncalves4009 3 года назад +3

    Vídeo bão dms mano, quando vi q vc é BR pirei kkkkk. Vc explica muito bem, vou seguir e ir esperando novos vídeos

    • @PedroTechnologies
      @PedroTechnologies  3 года назад +1

      kkkkkkk Vlw! A glr fica surpresa qnd descobre q eu sou br kkkkkk

    • @PabloGeokar
      @PabloGeokar 3 года назад

      Massa mesmo, ganhou mais um inscrito

  • @calvinwilliams729
    @calvinwilliams729 Год назад

    Can you add routing? react router v6.10 when you click the page changes

  • @tejasvijb4228
    @tejasvijb4228 Год назад +1

    how can u set the same id to elements in the list? Aren't ids supposed to be unique

  • @harshithachaiah6598
    @harshithachaiah6598 Год назад

    when we click on an item in side it will route to other page and I still want the side bar to be in the routed page how this is achieved

  • @mohamedafsarm9554
    @mohamedafsarm9554 Месяц назад

    i was not able to find they sidebar repository in the provided github link

  • @boltpubg07
    @boltpubg07 10 месяцев назад +2

    Why did not you provide the right link??

  • @unanimousutuber9724
    @unanimousutuber9724 2 года назад

    I'm not sure why this is't working for me but when i do height: 100%; in the .Sidebar{} it doesn't actually fill up from top to bottom, but 100vh does.

  • @zombieallen
    @zombieallen 2 года назад

    Is there a way to prevent the entire page from reloading when using the sidebar?

  • @PROTECHRAHUL
    @PROTECHRAHUL Год назад

    how can i render other routes beside or the right to the sidebar.

  • @yeminhtun2543
    @yeminhtun2543 3 года назад +1

    Great tutorials

  • @mohammadhossein94
    @mohammadhossein94 Год назад

    Hi
    when i click to the source code address it brings me this : react-image-carousel

  • @Ilhani-yq4jv
    @Ilhani-yq4jv Месяц назад

    Why isn't the sidebar all the way to the top, but a few inches below? Can you tell me how to change that?

  • @ac.selvan8024
    @ac.selvan8024 2 года назад

    It is a very useful exaple but why there a white space in top of the sidebar how to avoid it

  • @agbowurotoyin9577
    @agbowurotoyin9577 Год назад

    good job

  • @dleonardo8755
    @dleonardo8755 2 года назад

    muito bom salvou dms

  • @tpcjadhav6661
    @tpcjadhav6661 4 месяца назад

    it is possible to get sidebar data from database

  • @aynuayex
    @aynuayex Год назад

    github source code is not correct please review it or give a link to the website where you pick the color from?

  • @glennlaciapag7074
    @glennlaciapag7074 3 года назад +1

    Great stuff.

  • @hilton8370
    @hilton8370 28 дней назад

    Hi, how do I remove that upper indentation

  • @saadurrehman354
    @saadurrehman354 3 года назад +1

    amazing as before (Y)

  • @Shellflower1234
    @Shellflower1234 3 года назад

    Great videoooo

  • @cheddargt
    @cheddargt 3 года назад +4

    Hey! Thank you so much for the tutorial :) one quick thing though, how do I remove that little white gap between the menu and the upper part of the window? Thanks!

    • @PedroTechnologies
      @PedroTechnologies  3 года назад +2

      Hey, you can set the body element in css to have a padding of 0 and a marging of 0!

    • @Raj0x01
      @Raj0x01 2 года назад

      ​@@PedroTechnologies Hi I did margin: 0; and padding: 0; but still have same issue and keep making good video like this really helpful. Thank you

    • @jesusperez4502
      @jesusperez4502 2 года назад +1

      @@Raj0x01 I think that u can put margin instead padding in link css

    • @Raj0x01
      @Raj0x01 2 года назад

      @@jesusperez4502 I fixed it I forgot that I was in App class.

    • @ophx1337
      @ophx1337 2 года назад

      @@Raj0x01 how did you fix it?

  • @geovannyman.117
    @geovannyman.117 Год назад +1

    when I add import { sidebarData } from './sidebarData'; the page turns white and does not show the sidebar design :(

    • @subyouwont
      @subyouwont 3 месяца назад

      Check the console

  • @mastertmplayer
    @mastertmplayer 3 года назад +1

    Qual extensão tu usou pra ter os snippets do react? ia usar o da rocketseat

  • @aqsaazfa1687
    @aqsaazfa1687 2 года назад +1

    You are better than techwithtim

  • @zvrk
    @zvrk 3 года назад +1

    Hey, awesome video! What is the extension for selecting fonts ? I sam you had bunch of them.

    • @PedroTechnologies
      @PedroTechnologies  3 года назад

      Hey, I don't use any extension for fonts. Do you mean the fonts I chose in my CSS?

    • @zvrk
      @zvrk 3 года назад

      @@PedroTechnologies Nvm, this is my inexperience with VS Code and css, i didn't know it offered font-families on intelisence. Usually I get fonts from Google fonts.

  • @tinackaz3453
    @tinackaz3453 3 года назад +1

    Awesome! Is there another tutorial on linking the actual page to the navbar?

    • @RadioKanjo
      @RadioKanjo 2 года назад

      @pedroTech share a link on the linking page