
{"id":4661,"date":"2021-03-26T10:32:00","date_gmt":"2021-03-26T09:32:00","guid":{"rendered":"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/uncategorized\/what-is-bootstrap-a-beginners-guide\/"},"modified":"2023-02-02T11:39:57","modified_gmt":"2023-02-02T10:39:57","slug":"what-is-bootstrap-a-beginners-guide","status":"publish","type":"post","link":"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/what-is-bootstrap-a-beginners-guide\/","title":{"rendered":"What is Bootstrap: A Beginner's Guide"},"content":{"rendered":"<p><strong>For a good few years now Bootstrap has become an essential a tool for frontend developers. For the rest of us, it&#8217;s just another <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/50-web-development-buzzwords-that-all-new-programmers-should-learn\/\" target=\"_blank\" rel=\"noopener\">coding buzzword<\/a> we don&#8217;t understand.<\/strong><\/p>\n<p>But what is Bootstrap, and how to web developers use it?<\/p>\n<p>Let\u2019s find this out, and then take a closer look to see whether it\u2019s useful for your web development work.<\/p>\n<p>If you&#8217;d like to skip along to a certain section, simply use the clickable menu:<\/p>\n<ol>\n<li><a href=\"#what-is-bootstrap\">What is Bootstrap?<\/a><\/li>\n<li><a href=\"#1-why-is-bootstrap-the-go-to-for-web-developers\">Why is Bootstrap the go-to for web developers?<\/a><\/li>\n<li><a href=\"#2-why-might-you-avoid-bootstrap\">Why might you avoid Bootstrap?<\/a><\/li>\n<li><a href=\"#3-wrapping-it-all-up\">Wrapping it all up<\/a><\/li>\n<\/ol>\n<p>Are you ready? Then let&#8217;s get into it!<\/p>\n<h2 id=\"what-is-bootstrap\">1. What is Bootstrap?<\/h2>\n<p>The <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/7-essential-tools-for-front-end-development\/\" data-schema-attribute=\"\">web app development toolkit<\/a> was created by former Twitter employees Mark Otto and Jacob Thornton (pictured).<\/p>\n<p><img decoding=\"async\" title=\"Bootstrap creators Mark Otto and Jacob Thornton\" src=\"\/en\/wp-content\/uploads\/old-blog-uploads\/coding-all-in-one-mark-otto-jacob-thornton.jpg\" alt=\"The two Bootstrap creators, web developers Mark Otto and Jacob Thornton standing next to a blank wall\" \/><\/p>\n<p>The official Bootstrap website describes it as \u201cThe most popular HTML, CSS, and JS framework for developing responsive, mobile-first projects on the web.\u201d<\/p>\n<p>Here\u2019s what that means in plainer terms:<\/p>\n<p>Bootstrap is a giant collection of handy, reusable bits of code written in <a href=\"\/en\/blog\/web-development\/what-is-html-a-beginners-guide\/\" target=\"_blank\" rel=\"noopener\">HTML<\/a>, <a href=\"\/en\/blog\/web-development\/what-is-css\/\" target=\"_blank\" rel=\"noopener\">CSS<\/a>, and <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/how-long-does-it-take-to-learn-javascript\/\" target=\"_blank\" rel=\"noopener\">JavaScript<\/a>. It\u2019s also a frontend development framework that enables developers and designers to quickly build fully responsive websites.<\/p>\n<p>Essentially, <strong>Bootstrap saves you from writing lots of CSS code<\/strong>, giving you more time to spend on designing webpages.<\/p>\n<p>It\u2019s also FREE! It\u2019s currently <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/what-is-github\/\">hosted on GitHub<\/a> and can be downloaded easily from\u00a0<a href=\"https:\/\/getbootstrap.com\/\" target=\"_blank\" rel=\"noopener\">the official site<\/a>.<\/p>\n<p>Now that we&#8217;ve looked at what exactly it is, let&#8217;s look at some other advantages it has for coders (on top of being free, naturally).<\/p>\n<h2 id=\"why-is-bootstrap-the-go-to-for-web-developers\">2. Why is Bootstrap the go-to for web developers?<\/h2>\n<p>Let\u2019s break the advantages down into eight parts:<\/p>\n<h3>Its responsive grid<\/h3>\n<p>No more spending hours coding your own grid\u2014Bootstrap comes with its own grid system predefined.<\/p>\n<p>Now, you can get straight to filling your containers with content.<\/p>\n<p>Defining custom breakpoints for each column is a snap using their extra small, small, medium, large, and extra large breaks. You can also simply stick to the default as it might already meet the needs of your site.<\/p>\n<h3>Its responsive images<\/h3>\n<p>Bootstrap comes with its own code for automatically resizing images based on the current screen size. Just add the <em><strong>.img-responsive<\/strong><\/em> class to your images, and the predefined CSS rules take care of the rest.<\/p>\n<p>Let Bootstrap resize your images for you!<\/p>\n<p>It can even change the shape of your images with the addition of classes like <em><strong>img-<\/strong><strong>circle<\/strong><\/em> and <em><strong>img-rounded<\/strong><\/em>, and that\u2019s without going back and forth between the code and your design software.<\/p>\n<h3><strong>Its components<\/strong><\/h3>\n<p>Bootstrap comes with a whole barrelful of components you can easily tack onto your web page, including:<\/p>\n<ul>\n<li>Navigation bars<\/li>\n<li>Dropdowns<\/li>\n<li>Progress bars<\/li>\n<li>Thumbnails<\/li>\n<\/ul>\n<p>Not only is it a breeze to add eye-catching design elements to your webpage, you\u2019ll also be able to rest assured knowing that every one of them will look great no matter the screen size or device used to view them. That\u2019s a lot of ready-made functionality right at your fingertips.<\/p>\n<p>For a more complete list of addable features, check out the component documentation.<\/p>\n<h3><strong>Its JavaScript<\/strong><\/h3>\n<p>Still not enough functions? <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/javascript-vs-jquery-whats-the-difference\/\" data-schema-attribute=\"\">Try JQuery<\/a>!<\/p>\n<p>Bootstrap also allows developers to take advantage of over a dozen custom JQuery plugins.<\/p>\n<p>This library gives you even more room to play with interactivity, offering up easy solutions for modal popups, transitions, image carousels, and\u2014one of my personal favorites\u2014a plugin called <strong>scrollspy<\/strong>, which automatically updates your navigation bar as you scroll through a page.<\/p>\n<h3><strong>Its documentation<\/strong><\/h3>\n<p>Simply put, Bootstrap\u2019s documentation is some of the best we\u2019ve ever seen. Every piece of code is described and explained in explicit detail on their website.<\/p>\n<p>Explanations also include code samples for basic implementation, simplifying the process for even the most beginner of beginners. All you need to do is choose a component, copy and paste the code into your page, and tweak from there.<\/p>\n<h3><strong>Its customizability<\/strong><\/h3>\n<p>One of the main critiques when it comes to frameworks such as Bootstrap is their size\u2014the weight they throw around can really slow down your application upon first load.<\/p>\n<p>The current version of Bootstrap\u2019s CSS file, for example, is a whopping <strong>1.6 MB<\/strong>. While this may not seem especially large compared to image and video files, for a CSS file, that\u2019s enormous!<\/p>\n<p>What it allows you to do to combat this, however, is to customize which functionality you want to include in your download. By simply going to <a href=\"https:\/\/getbootstrap.com\/docs\/4.1\/getting-started\/download\/\" target=\"_blank\" rel=\"noopener\">their Download page<\/a>, you can check off the features you won\u2019t need for your application, trimming the weight off your file and saving your users the additional load time.<\/p>\n<p>Customization is key!<\/p>\n<h3><strong>Its community<\/strong><\/h3>\n<p>As with so many open-source projects, Bootstrap has a large community of designers and developers behind it. Being hosted on GitHub makes it easy for developers to modify and contribute to Bootstrap\u2019s codebase. It also makes it easy for people to collaborate, lend their advice, and interact with peers and fellow users.<\/p>\n<p>Bootstrap has an active Twitter page, a <a href=\"https:\/\/blog.getbootstrap.com\/\" target=\"_blank\" rel=\"noopener\">Bootstrap blog<\/a>, and even a dedicated GitHub community. And that doesn\u2019t even get into the wealth of developers willing to help with technical problems on Stack Overflow, where all questions can be found under the <a href=\"https:\/\/stackoverflow.com\/questions\/tagged\/bootstrap-5\" target=\"_blank\" rel=\"noopener\">bootstrap-5 tag<\/a>.<\/p>\n<h3><strong>Its external templates<\/strong><\/h3>\n<p>As its popularity grew, people started creating templates based on Bootstrap in order to accelerate the web development process even further. There are many websites out there dedicated to sharing and buying custom templates based on Bootstrap.<\/p>\n<p>Here are just a few:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.w3schools.com\/bootstrap\/bootstrap_templates.asp\" target=\"_blank\" rel=\"noopener\">W3Schools Bootstrap templates<\/a><\/li>\n<li><a href=\"https:\/\/startbootstrap.com\/template-categories\/all\/\" target=\"_blank\" rel=\"noopener\">Start Bootstrap templates<\/a><\/li>\n<li><a href=\"https:\/\/wrapbootstrap.com\/\" target=\"_blank\" rel=\"noopener\">Wrap Bootstrap templates<\/a><\/li>\n<\/ul>\n<h2 id=\"why-might-you-avoid-bootstrap\"><img decoding=\"async\" style=\"font-size: 16px;\" title=\"Discovering the joys of Bootstrap\" src=\"\/en\/wp-content\/uploads\/old-blog-uploads\/versions\/code-2558220-640-min---x----640-426x---.jpg\" alt=\"Web developer sitting typing code into a laptop\" \/><\/h2>\n<h2><strong>3. Why might you avoid Bootstrap?<\/strong><\/h2>\n<p>By now, you\u2019re probably thinking that using it is a no-brainer. But remember\u2014there are two sides to every coin. Like almost everything in life, even Bootstrap has its downsides.<\/p>\n<p>Let\u2019s take a quick look at some common complaints you might hear about Bootstrap:<\/p>\n<h3 id=\"its-syntax-is-confusing\">&#8220;Its syntax is confusing!&#8221;<\/h3>\n<p>Before you become familiar with Bootstrap, some of its syntax can be confusing. When using the grid system, for example, in order to make a column that takes up a third of the screen, you have to add the .col-md-4 class to it.<\/p>\n<p>\u201cWait\u20144? Where did this 4 come from?!\u201d<\/p>\n<p>Undoubtedly, the four might lead you to believe the column would take up a quarter of the screen\u2014not a third. While this syntax does make sense (Bootstrap uses a 12-column system, and 4 is a third of 12), it can be unintuitive for those new to the whole process.<\/p>\n<h3 id=\"its-files-are-too-big\"><strong>&#8220;Its files are too big!&#8221;<\/strong><\/h3>\n<p>As mentioned earlier, Bootstrap files can be a bit, well, large to account for the sheer functionality offered by its framework. This can lead to an increase in load times for websites, especially on slower networks.<\/p>\n<p>Beginners might have a hard time identifying and fixing this issue; however, as mentioned above, the customize tool on Bootstrap\u2019s website can help eliminate any unnecessary code for functions you\u2019ll never use.<\/p>\n<p>So have it your way\u2014just pick out the bits you need and leave the rest. (Of course, this task gets easier the more you know about coding!)<\/p>\n<h3 id=\"it-keeps-me-from-actually-learning-code\"><strong>&#8220;It keeps me from actually learning code!&#8221;<\/strong><\/h3>\n<p>There\u2019s always the risk that, by using Bootstrap, you\u2019ll get into a cycle of simply recycling existing code without actually understanding it. This is the same as using <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/what-is-nodejs\/\">Node.js<\/a> and other tools <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/should-you-learn-javascript\/\" data-schema-attribute=\"\">before learning JavaScript itself.<\/a>\u00a0By spending the time to really learn what you\u2019re doing, however, you can use Bootstrap as a way of accelerating your learning, rather than hindering it.<\/p>\n<p><img decoding=\"async\" title=\"Surely by now you know that we're not talking about those kind of bootstraps\" src=\"\/en\/wp-content\/uploads\/old-blog-uploads\/versions\/feet-legs-shoes-foot-min-2---x----5472-3648x---.jpg\" alt=\"A person's feet wearing a pair of hi-tops covered in colourful graphics, with long laces.\" \/><\/p>\n<h2 id=\"wrapping-it-all-up\">4. Wrapping it all up<\/h2>\n<p>As you\u2019ve probably noticed by now, Bootstrap is a powerful tool that allows a developer to get up and running quickly and painlessly. It makes it easy to integrate many great features that enrich a user\u2019s interaction with the web <strong>without having to code them from scratch<\/strong>.<\/p>\n<p>Bootstrap is immensely popular and has been used to build some great websites. Don\u2019t believe us? Check out <a href=\"https:\/\/www.mongodb.com\/\" target=\"_blank\" rel=\"noopener\">MongoDB\u2019s<\/a> website, the <a href=\"https:\/\/www.nasa.gov\/\" target=\"_blank\" rel=\"noopener\">NASA<\/a> website, or even <a href=\"https:\/\/www.fifa.com\/\" target=\"_blank\" rel=\"noopener\">FIFA&#8217;s<\/a>.<\/p>\n<p>If you\u2019re thinking about a career as a web developer, check out our mentored <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/courses\/become-a-web-developer\/\">Web Development program<\/a>. It\u2019s designed to take you from beginner to <a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/how-to-get-your-first-web-developer-job-the-ultimate-guide-for-junior-developers\/\" target=\"_blank\" rel=\"noopener\">junior web developer<\/a> with full career guidance along the way!<\/p>\n<p>Otherwise, if you\u2019re interested in learning more:<\/p>\n<ul>\n<li><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/in-demand-web-developer-skills\/\">What are the top skills you should have as a web developer in 2024?<\/a><\/li>\n<li><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/introduction-to-es6-javascript\/\">Learn about ES6 and other recent JavaScript features<\/a><\/li>\n<li><a href=\"https:\/\/careerfoundry.inbearbeitung.de\/en\/blog\/web-development\/become-a-remote-developer\/\">How to leave the office behind and become a remote web developer<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Bootstrap is one of those words which you hear getting bandied around in tech circles, but what actually is it, and why can it be so useful for web developers? Discover all in this step-by-step guide.<\/p>\n","protected":false},"author":46,"featured_media":4593,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_lmt_disableupdate":"yes","_lmt_disable":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-4661","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development"],"acf":{"homepage_category_featured":false},"modified_by":"Matthew Deery","_links":{"self":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/4661","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/users\/46"}],"replies":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/comments?post=4661"}],"version-history":[{"count":1,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/4661\/revisions"}],"predecessor-version":[{"id":30697,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/posts\/4661\/revisions\/30697"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/media\/4593"}],"wp:attachment":[{"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/media?parent=4661"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/categories?post=4661"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerfoundry.inbearbeitung.de\/en\/wp-json\/wp\/v2\/tags?post=4661"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}