Getting Started with Bootstrap 5 for Beginners - Crash Course

Поделиться
HTML-код
  • Опубликовано: 6 фев 2025

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

  • @DesignCourse
    @DesignCourse  3 года назад +45

    Are any of you still using Bootstrap, or have plans to use Bootstrap 5 in the future?

    • @ead5590
      @ead5590 3 года назад +5

      It's been quite a while since I've used Bootstrap mostly because I stick to using SASS for creating my own custom styling from scratch. But that was back when Bootstrap was v4. Time to hit the docs to see what's changed.. 😁

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

      @@ead5590 2nd this

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

      Been using tailwind and i have no reason to look back to any UI framework 😅

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

      I picked up Bootstrap a long time ago when my CSS skills weren't so sharp. I wouldn't touch it now for a real project.

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

      I started off web dev with bootstrap 3 and then 4. Recently I've been using tailwind and love it way more, but I've been awaiting bootstrap 5 and will certainly give it a go in the future. It's one of those things you may as well try, and it'll make some websites faster / easier to make. I like tailwind for any websites that I want to customize more or look nicer imo, also lighter file sizes and faster loads. But bootstrap really has some value in providing everything you need quickly. Tailwind has a UI kit thing as well, but it's expensive, I'll try it out someday though.

  • @TraversyMedia
    @TraversyMedia 3 года назад +110

    Damn it Gary. You beat me to it 😒

    • @MultiMemich
      @MultiMemich 3 года назад +14

      I'll watch both.

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

      ​@@MultiMemich +1 😂

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

      I am eagerly awaiting yours!

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

      You Gotta Hurry...Brad😊😊😊

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

      Maybe do one for bootstrap-react, Brad :) I would watch!

  • @englishwitha5532
    @englishwitha5532 3 года назад +9

    Thanks. What I appreciated most about this tutorial was the fact that you went through the proper set up process (npm, parcel, folder structure ...). In most other tutorials, the tutorial starts by just adding the CDN files to the html file.

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

    Nice video, between 21:12 to 22:50 to push the navigation to the right, bootstrap 5 has "ml-auto" I tried that and it works for me, you add the "ml-auto" to the , for example ........ it works

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

    Thanks!

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

    anything happens to this guy, it'll have an impact on the whole web world.

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

      He is amazing!! He helps us for free and i don’t think he gets the recognition he deserves !!!

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

    At 21:50 where he says to align it right.
    At --->
    Just add ms-auto and it works!

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

      MS Stands for Margin Start😊 if I am not wrong 😂

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

    Really good tutorial. Off the cuff and live dive into BS5. Great to see someone going small prep live and getting into flow. Reminds me of working in Ops. Brilliant.

  • @chebellipavankumar649
    @chebellipavankumar649 3 года назад +19

    Please do a crash course video like this on React or WordPress?

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

    Probably the best Bootstrap tutorial on yt

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

    At 21:44 you just needed to add comma before d-flex
    Class="collapse navbar-collapse, d-flex"

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

    yo your a good teacher thanks for all the free education god bless u some people dont have money for school learned so much keep it up

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

    You can change the position of the navbar items with just regular Bootstrap, no need for extra custom CSS.
    Like adding this classes:
    1. "d-flex flex-row-reverse"
    2. or "justify-content-end"

  • @krupeshanadkat635
    @krupeshanadkat635 3 года назад +16

    I would say tailwind css picking up, it would be really great to see tailwind css crash course 🙂🙂

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

      I love tailwind. I have a recommendation for you. When I was learning it, the one video that I found amazing and thorough was the free one here on RUclips that scrimba put out. It’s a little old but it’s updated. Don’t be thrown off by the upload date. It’s up to date.

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

      @@cerealrakist7360 thanks, i know bootstrap very well. The thing is the components. Boostrap gives components and i can put up a scaffold with navbar, jumbotron, cards and footer in 30 mins. With Tailwind it takes whole day 😕 I need to put classes and make my own component library from raw..

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

      @@cerealrakist7360 tailwind has more classes than bootstrap so transition is not that difficult for me, i really miss pre made components. I know tailwind UI but most things there is paid.

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

    My life’s first corporate project and guess where am I for a crash course 💯

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

    Unfortunately, parcel-bundler has migrated to v2, and is now just 'parcel' for npm. So if you guys run into dependency issues just uninstall parcel-bundler (globally if necessary) and install parcel for the updated version.

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

    Hey Gary, some of your Parcel issues is that you are using parcel-bundler, instead of parcel 2.0.0. That is where the --experimental-scope-hoisting resides. Great tutorial!

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

    I used "ms-2 me-2 text-center" on the 4 navbar-items to reposition the links on the right side of the nav

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

    me: ~tunes into video~
    gary: ~time to pick a font~
    me: let me guess, poppins?
    gary: poppins! 😂

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

    @23:01 instead of creating separate css for justify-content, add d-flex and justify-content-end classes after navbar-collapse class

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

    Never learned Bootstrap this much faster, Thank you, Gary!

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

    It would have been a little helpful to explain why the import has to be below the code in scss. I think you may have briefly mentioned scss converts the code to css...perhaps this is why it has to be below the code in order to work.

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

    will accomplish the padding and you can use breakpoints on that as well...

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

    I give up on Bootstrap...I got to the npm run dev and got nothing but error messages. Earlier when installing the parcel -g file I got errors as well, saying that most of the packages were out of date. F... this. I'm out of Bootstrap!

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

      Same what a nightmare to just get it running

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

    can't wait to watch! Please do a React crash course as well :)

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

    You don’t get the recognition you deserve! Although I have to admit that you are pretty well known and are considered amongst the top best , in my book 💯 and pretty much everyone else’s lol

  • @Stormchazer-x9z
    @Stormchazer-x9z 3 года назад

    Thanks a lot Gary. You made crash course so easy.

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

    Excellent tutorial!! Very much appreciated !! 🙂

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

    Note that "parcel-bundler" has now been depreciated but is worth still using as the newer "parcel" bundle is currently broken (Jan 2022)

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

    [30:00] To increase the spacing between items on the navbar I just added the class "me-3" (meaning left margin increase by 3) to each nav-item

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

    21:57
    To move the options of the Navbar to the right side. Simply give the ul tag a class named 'mr-auto' and it will automatically move the options to the right side.

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

      doesn't work

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

      @@kevinkiarie3338 justify-content-between is what you're looking for. Might have to add d-flex.

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

      @@TomSchouten92 thanks my guy

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

      Might be a bit late but all I did was I added comma then d-flex so like
      Class="collapse navbar-collapse, d-flex"

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

      @@steffe6410 classes don't have to be separated by comma. Only need a space in between

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

    Thank you . I totally grasped the concept and flexibility of Bootstrap! Also I thanked for the great HTML/UI design tips ;D

  • @demetrous-yt
    @demetrous-yt 3 года назад +5

    Nice job! I had an issue with build: "....scss:undefined:undefined: plugin is not a function", fixed with reinstalled parcel "npm i parcel", not "parcel-bundler".

  • @shrey768
    @shrey768 3 года назад +7

    Why customize? Could have used "d-flex justify-content-end" to align navbar items to end

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

      or ms-auto would do the work

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

      Probaby ml-auto should also work by giving it an auto margin on left

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

      @@aryanpandey2879 i don't think so ... because ml-auto does not work in b5, instead use ms-auto or me-auto (where s(start) replaces l(left) and e(end) replaces r(right).

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

      @@shaderone07 oh didn't know about that. Thanks

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

      worked for me :)

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

    Anyone still getting an error with npm run build?
    "build": "parcel build --public-url ./ ./src/index.html --out-dir build"

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

    At 30:20 I found a way to increase the spacing between nav links. The items in the unordered list are under the flex property so you need to include the gap property in the html. Something like this! . Hope that helps anyone else :)

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

    1:55 hostinger show all low prices are useless. When I select lowest price(one month) , all total prices are 9$ above(with coupon).Why

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

    For right-aligning the navbar elements, have you tried adding flex-row-reverse to the navbar-collapse div? Worked for me.

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

    Thank you so much for explaining Bootstrap 5 in such a simple and beautiful way. It's very helpful for beginners.

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

    After Ur sad story, I'll definitely watch it👍

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

    Thanks for the course! Installing Bootstrap was me basically doing things that made no sense to me considering I am new to the command line and am unfamiliar with a lot of the things I was installing. Is there a good resource for trouble shooting? I got a few errors with 'npm run dev'.

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

    Amazing, waiting for React Course

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

    Gary uses winrar when windows10 includes zip file support by default in the right click menu!
    Also they really should pay for your temp domain name for your example to get people to use them lol. That takes a little while to get the initial thing setup, but I was in awe at how fast the website was live after you uploaded the zip. I know the file size is small but wow that's impressive, usually takes me a bit longer on github pages, netlify, and firebase.

  • @儒豪呂
    @儒豪呂 2 года назад

    can you plz share you vscode theme. that is so cool

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

    Such a good video, better than we could do!😂

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

    24:15 that's what she said.
    Literally, my frontend professor always says that :).

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

    i have followed the video step by step everything seemed to work just as the video.... howver $body-bg:black; does nothing in my browser

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

    I was expecting you to use bootstrap grid with flexbox.

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

    Hi there have you heard of any issues installing Bootstrap 5 on the M1 macbook?

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

    Fonts look very small, Sir. Please zoom or make fonts bigger. Unable to watch on mobile.

  • @2525samot
    @2525samot 3 года назад

    Thank you so much for this video Noob Life Saver!

  • @ΝικόλαοςΤζουνάκος
    @ΝικόλαοςΤζουνάκος 2 года назад

    great tutorial thanks!

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

    Thank you Gary!

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

    A Tailwind CSS Crush Course

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

    Looking for a mobile-last toolkit, any recommendation?

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

    am living under a rock

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

    Love the content as always Gary. Would float have worked in the beginning of the video? Also, I think it would have been helpful to show how to change the column breakpoints to make them fit full width on mobile. Keep making awesome stuff : )

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

    Please make a tailwind one

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

    There's an issue with parcel. I tried this method twice, and both times it produced a Build Error, specifically "The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received null." Save your time, don't use parcel.

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

    body-bg or other commands not working on my custom.scss any idea ?

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

    adding class h-100 to all the cards.. will give the cards equal height.

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

    Awesome! I would love a similar course on React Bootstrap :)

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

    Awesome.......!!! thank you so much,,,,,, sir.

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

    Waiting for this video

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

    Thank you so much ❤️❤️❤️

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

    Loved the course. After the npm run build, I got it all working except for the dropdown menu. Can't find a solution. Anyone?

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

    Edward Norton look-alike is back!!! :)

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

    Thank you, Gary. This is a great video! I have been trying to teach myself to learn to code over the past few months. I spent a lot of time working on C#. Now, I am working on HTML and CSS. So far, this is much easier than working in C# (and it's pretty fun too). With a little luck and a lot more work, I am hoping to be able to make a career change within a few more months. This would've been nearly impossible for me if it weren't for videos like this and mentors to teach me the things I need to learn.

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

    Pretty much same as 4. But it was a good tutorial. 🥰

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

    Thanks Gary
    but my custom sass file is not working. Anytime I write a style code it doesn't show in the browser. Can anyone help me out?

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

    will push to the right....

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

    Sir please, do a crush course on Tailwind CSS... please please please...

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

    Can someone tell me how to add bootstrap to new project? should i need to run npm install again for every new projects or is there other codes?
    I heard somewhere that if npm bootstrap is only one time process..

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

    Third time is a charm!

  • @Arjun-yj1es
    @Arjun-yj1es 3 года назад

    I want to learn front end development from Gary what should I do?
    7:26 🤣

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

    When I set up the navbar it took up the entire screen and appeared to be made for mobile. Then I realized the browser was on 500% zoom😆

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

    thank you ❤️😁

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

    You should take the majesty out if you want us to concentrate with you

  • @Hassie
    @Hassie 3 года назад +5

    "Boring company, which is Elon Musk's company"
    Someone lost their moneyyy 😂

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

    I so wish if Gary could do a Vue JS 3 tutorial...

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

    Tried this and when I uploaded my site to my host, the navigation "download links" section didn't come up. Looking at console I saw it wasn't pulling popper.js. Trying to troubleshoot that now.

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

    Waiting for Todo List and Form Validation tutorial

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

    Thanks 😊

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

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

    Legend

  • @ari_eru-chan
    @ari_eru-chan 3 года назад

    the dropdown isn't working for me

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

    Can Bootstrap me used with React, so doesn't it make sense to combine the two?

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

      It can be used with React, but just because it can, doesn't mean it always should. 😂 I personally do not like React. I'm a Vue guy.

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

    What is your color theme 🙄??

  • @AbrarKhan-sl1ju
    @AbrarKhan-sl1ju Год назад

    nice video

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

    I get code ELIFECYCLE error when I try to run build... can`t find a solution on the net. What to do?

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

      found this solution, it works with me..
      maybe ur file is still inside node_modules, try to move it out

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

    the run build is not working

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

    Like before watch ❤️

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

    make a crash course of tailwind

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

    I wasted 40 mints of my life and I'm putting this comment

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

    2:16 pain💔

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

    Thnx

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

    20:46 had me dying

  • @Hammy5050
    @Hammy5050 8 месяцев назад

    Nice

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

    27:43 that's a dead laugh

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

    you'd think the people at bootstrap would have a better mind for design and not putting v4 build in v5 docs....