<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Babátúndé Oyéṣíle</title>
    <description>The latest articles on DEV Community by Babátúndé Oyéṣíle (@badbatunde).</description>
    <link>https://dev.to/badbatunde</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F892189%2Fa9f30d0d-3b00-4be6-83c4-a9e5c4be2f5b.jpeg</url>
      <title>DEV Community: Babátúndé Oyéṣíle</title>
      <link>https://dev.to/badbatunde</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/badbatunde"/>
    <language>en</language>
    <item>
      <title>How To Host Websites on GitHub Pages</title>
      <dc:creator>Babátúndé Oyéṣíle</dc:creator>
      <pubDate>Mon, 01 May 2023 04:02:01 +0000</pubDate>
      <link>https://dev.to/badbatunde/how-to-host-websites-on-github-pages-4113</link>
      <guid>https://dev.to/badbatunde/how-to-host-websites-on-github-pages-4113</guid>
      <description>&lt;p&gt;GitHub, founded in 2008 and currently owned by Microsoft, is a web-based platform that offers a centralized location for software developers to collaborate on projects, share code, and manage version control.&lt;/p&gt;

&lt;p&gt;Developers can use GitHub to create and manage repositories that store code, documentation, and related files for their projects. &lt;/p&gt;

&lt;p&gt;They can collaborate on these repositories by submitting changes as pull requests, which can be reviewed and feedback provided by other developers before being merged into the main codebase.&lt;/p&gt;

&lt;p&gt;GitHub also offers powerful tools for project management, issue tracking, and continuous integration and deployment, making it a comprehensive platform suitable for software development teams of all sizes. &lt;/p&gt;

&lt;p&gt;GitHub hosts a vast number of open-source projects, which provides a valuable resource for developers who want to contribute to and learn from these projects.&lt;/p&gt;

&lt;p&gt;GitHub Pages is a hosting service for static sites that enables the direct use of HTML, CSS, and JavaScript files from a GitHub repository. &lt;/p&gt;

&lt;p&gt;GitHub Pages can optionally run these files through a build process before publishing the website. Examples of GitHub Pages sites can be found in the &lt;a href="https://github.com/collections/github-pages-examples"&gt;GitHub Pages examples collection&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;With GitHub Pages, users can set up their website to use their own domain name instead of the default GitHub Pages domain. &lt;/p&gt;

&lt;p&gt;They can also choose from a range of pre-built themes, making it easy to create a professional-looking website without starting from scratch.&lt;/p&gt;

&lt;p&gt;GitHub Pages is a preferred option for developers and others seeking to host simple, static websites without having to use a separate web hosting service. &lt;/p&gt;

&lt;p&gt;It is particularly useful for hosting project websites and documentation related to software repositories hosted on GitHub.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Benefits of Using GitHub Pages for Hosting Your Website&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;There are various benefits of using GitHub Pages for hosting your website, some of which are detailed below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Easy to set up&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Setting up a website on GitHub Pages is relatively easy and can be done in just a few steps, making it an excellent option for users who are new to web development and hosting.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Hosting is free&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitHub Pages offer free web hosting for your website, which can save you money compared to using a paid web hosting service.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Custom Domain Support&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitHub Pages support custom domain names, allowing you to use your domain name instead of the default GitHub Pages domain, which can give your website a more professional look and feel.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;No installation required&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Hosting your websites on GitHub pages does not require any installation of external build tools.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Multiple Website Support&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can host multiple websites from a single GitHub account with GitHub Pages, which can be a helpful feature if you need to host multiple websites for different projects.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Built-in Jekyll Support&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitHub Pages include built-in support for Jekyll, a popular static site generator, which can assist you in creating a website without having to write all of the HTML, CSS, and JavaScript code yourself.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Version Control&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It automatically provides version control for your website files, enabling you to track changes, revert to previous versions, and collaborate with others on your website.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Web-based&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Since it is web-based, you can start a page from your home computer and later continue working on it from your work computer without installing any software or manually copying files.&lt;/p&gt;

&lt;p&gt;In summary, GitHub Pages is a powerful and flexible tool for hosting static websites, especially for developers who are already utilizing GitHub for collaboration and version control.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Prerequisites&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;These are a few prerequisites to consider before hosting a website on GitHub Pages.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;A GitHub account&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A GitHub account is required to host your websites on GitHub Pages. Create an &lt;a href="https://github.com/join"&gt;account&lt;/a&gt; if you don't already have one.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Git&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To use GitHub Pages, you must have Git, which is a version control system. You should install &lt;a href="https://git-scm.com/downloads"&gt;Git&lt;/a&gt; on your computer and be familiar with its usage.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;A Repository&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You will need to create a repository to store and track your website files.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Website files or Codebase&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You will need to have your website files or codebase ready, including HTML, CSS, and JavaScript files.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Markdown knowledge (Optional)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Markdown is a simple markup language that can be used to format text on your website. Although it is not mandatory, familiarity with Markdown can simplify the process of creating and formatting content on your website. This is optional.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Domain (Optional)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You will need to have one registered and configure it to work with GitHub Pages If you want to use a custom domain. This is optional.&lt;/p&gt;

&lt;p&gt;At the end of this step-by-step article, you will be able to host your websites on GitHub pages online with ease.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Steps to Hosting Your Websites on GitHub Pages&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;Detailed below are the steps to host a website on GitHub Pages, keep in mind that the specific details of your website and repository may cause these steps to vary, so use them as a general guideline.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Log in to your GitHub account&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you do not already have GitHub, &lt;a href="https://github.com/signup"&gt;sign up&lt;/a&gt; for one.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uA9FBx6x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jhgeyiombautrtfvu9q3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uA9FBx6x--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jhgeyiombautrtfvu9q3.png" alt="GitHub sign up page" width="800" height="398"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Create a new repository&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Click on the "+" sign at the top-right of your GitHub profile and create a new repository. Name it based on your preference or based on the purpose of the website you are hosting. "Public" must remain checked to use GitHub pages. You can also add a README file that gives the description of the project but it's optional&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--hBkRwvJe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/izpv9c2ees7so7djk0sc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hBkRwvJe--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/izpv9c2ees7so7djk0sc.png" alt="create a repository" width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Add your website files and Commit&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Add your website files to the repository. This includes your HTML, CSS, and JavaScript files. Then, commit your changes and add an optional extended description, then push them to the repository.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--9ChzwMrl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l3kbxvdaf36p3h1uafxt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--9ChzwMrl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l3kbxvdaf36p3h1uafxt.png" alt="Upload files" width="800" height="380"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Enable GitHub Pages&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Click on "Settings" on the navbar, then click on "Pages" on the sidebar. Change the "none" to "main" under the Branch section to select a source to enable GitHub Page for this repository then click on "Save".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--XF768ESU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0xo73tq28ok6a1d2m9uw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--XF768ESU--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0xo73tq28ok6a1d2m9uw.png" alt="Enable GitHub Pages" width="800" height="392"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Your Website is Live&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your website should now be live on your GitHub Pages URL.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6Zl5cL3v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1oihfefo8f0b1speu30f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6Zl5cL3v--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1oihfefo8f0b1speu30f.png" alt="GitHub URL" width="800" height="401"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Choose a Theme and Configure a custom domain (Optional)&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Go to the "Settings" tab of your repository and select a theme if you want to use a pre-built theme for your website and If you want to use a custom domain, add it to your repository's settings. These are optional.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Update your website&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Any changes you make to your website files at any point in time can be committed and pushed to the repository to update your website.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Conclusion&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This article gives a detailed step-by-step guide on how to host your websites on GitHub pages with ease. It also gives in detail the benefits of hosting your websites on GitHub pages.&lt;/p&gt;

&lt;p&gt;Hosting your website on GitHub Pages may be based on preference as there are other ways or platforms to host your websites, for example, Netlify, Heroku, Medium, GitLab Pages, WordPress and so on.&lt;/p&gt;

&lt;p&gt;Thank you for reading, kindly share your feedback in the comment section, and feel free to connect with me on &lt;a href="https://github.com/badbatunde"&gt;GitHub&lt;/a&gt; | &lt;a href="https://twitter.com/badbatunde"&gt;Twitter&lt;/a&gt; | and &lt;a href="https://linkedin.com/in/badbatunde"&gt;LinkedIn&lt;/a&gt; 💖, and see you at the next one, cheers 🍸.&lt;/p&gt;

</description>
      <category>opensource</category>
      <category>github</category>
      <category>frontend</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Best 3 Bootstrap Alternatives</title>
      <dc:creator>Babátúndé Oyéṣíle</dc:creator>
      <pubDate>Sun, 23 Apr 2023 10:33:59 +0000</pubDate>
      <link>https://dev.to/badbatunde/best-3-bootstrap-alternatives-4mgm</link>
      <guid>https://dev.to/badbatunde/best-3-bootstrap-alternatives-4mgm</guid>
      <description>&lt;p&gt;Bootstrap is a free and open-source front-end framework developed in the mid-2010 by a designer and a developer at Twitter that provides a set of tools and resources for building responsive, mobile-first websites and web applications. &lt;/p&gt;

&lt;p&gt;It is one of the most popular CSS frameworks used by web developers around the globe. Before Bootstrap became an open-sourced front-end framework, it was then referred to as Twitter Blueprint. &lt;/p&gt;

&lt;p&gt;Bootstrap was initially released on 19th August 2011, it currently has a stable release, Bootstrap 5, released on the 22nd of November, 2022. &lt;/p&gt;

&lt;p&gt;You can also visit the &lt;a href="https://getbootstrap.com/" rel="noopener noreferrer"&gt;Bootstrap website&lt;/a&gt; and &lt;a href="https://github.com/twbs/bootstrap" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt; which currently has garnered over 163k likes and has been forked over 78k times by developers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/twbs/bootstrap" rel="noopener noreferrer"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqik4jfresxfyv3b7hpgj.png" alt="Bootstrap GitHub Repository snapshot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Installing Bootstrap
&lt;/h2&gt;

&lt;p&gt;Bootstrap provides various ways to quickly get started, each one with a different procedure, skill level, and use case. The top ways to get started with Bootstrap are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Download Bootstrap:&lt;/strong&gt; One of the best ways to get started with using Bootstrap in your project is to download it and get the required files for your project. The latest version of Bootstrap can be downloaded from their &lt;a href="https://getbootstrap.com/docs/5.3/getting-started/download/" rel="noopener noreferrer"&gt;website&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;CDN via jsDelivr:&lt;/strong&gt; If you will prefer not to download Bootstrap, you can add Bootstrap to your project via Content Delivery Network (CDN).&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&amp;lt;link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"&amp;gt;
&amp;lt;script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Package Managers:&lt;/strong&gt; Another option to pull Bootstrap source files into your projects is to use some of the most popular package managers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;npm: &lt;code&gt;npm install bootstrap&lt;/code&gt;&lt;br&gt;
yarn: &lt;code&gt;yarn add bootstrap&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Pros:
&lt;/h3&gt;

&lt;p&gt;Bootstrap is one of the most used CSS frameworks among web developers around the world. This is because it provides relevant solutions to problems faced by these developers. Some notable benefits of Bootstrap are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Responsive and Consistent Designs&lt;/strong&gt;&lt;br&gt;
It provides components e.g. grids, that allow developers to create a responsive website and web app, that are visually appealing to users both on large screens  and smaller screens easily and also to ensure consistency of designs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Community, Docs, and Access To Support&lt;/strong&gt;&lt;br&gt;
Bootstrap provides detailed docs that give information about the usage, and updates. Thousands of developers around the globe use Bootstrap in their projects and the open-source community provides the necessary support.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Customizable&lt;/strong&gt;&lt;br&gt;
Bootstrap ensures customization through its source Sass files, color, color modes, CSS variables, components, options, and optimization.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Cons:
&lt;/h3&gt;

&lt;p&gt;Bootstrap, like every other good thing, has its downside. Some of these are listed below:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Requires Coding Skills&lt;/strong&gt;&lt;br&gt;
Bootstrap is a coding tool, therefore it requires coding skills to use it effectively. This, therefore, makes it difficult for non-developers with no prior coding skills to make use of it.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Websites look similar&lt;/strong&gt;&lt;br&gt;
Another popular demerit of Bootstrap is the idea that most of the websites built with it look similar and this makes it easy to identify websites built with Bootstrap.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Alternatives To Bootstrap
&lt;/h2&gt;

&lt;p&gt;In 2023, there are numerous alternatives to Bootstrap that developers use in their projects to get their desired outcome. This article focuses on the three top alternatives based on usage, popularity, community, and preference.&lt;/p&gt;

&lt;h3&gt;
  
  
  TailwindCSS
&lt;/h3&gt;

&lt;p&gt;Tailwind CSS is an open-source and utility-first CSS framework that provides a set of pre-defined classes that you can use to style your web pages quickly and efficiently, unlike other CSS frameworks, like Bootstrap, which comes with pre-designed components.&lt;/p&gt;

&lt;p&gt;Tailwind CSS focuses on providing low-level utility classes that can be used to build custom designs without having to write custom CSS. It was built by developers at Tailwind Labs with CSS.&lt;/p&gt;

&lt;p&gt;You can also visit the Tailwind CSS &lt;a href="https://tailwindcss.com/" rel="noopener noreferrer"&gt;website&lt;/a&gt; and &lt;a href="https://github.com/tailwindlabs/tailwindcss" rel="noopener noreferrer"&gt;GitHub repository&lt;/a&gt; which currently has garnered over 67k likes and has been forked over 3k times by developers.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7vddqst7ipbsromftvzd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7vddqst7ipbsromftvzd.png" alt="Tailwind CSS website snapshot"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Getting Started with Tailwind CSS
&lt;/h3&gt;

&lt;p&gt;Tailwind CSS provides a large number of utility classes that cover a wide range of design needs, including typography, spacing, layout, and more. The framework provides a few different ways to get started.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Tailwind CLI&lt;/strong&gt;
The Tailwind Command Line Interface (CLI) tool provides the easiest and quickest way to get started and work with TailwindCSS from scratch. This download requires the prior installation of Node.js and npm.
```
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;npm install -D tailwindcss&lt;br&gt;
npx tailwindcss init&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
- **PostCSS**
TailwindCSS can also be installed as a PostCSS plugin which provides the easiest way to integrate it with other build tools.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;npm install -D tailwindcss postcss autoprefixer&lt;br&gt;
npx tailwindcss init&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
- **Play CDN**
You can also use TailwindCSS right in the browser without any build step, this is specifically designed for development purposes alone and not the best choice for production purposes.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;









&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
###Pros
The key idea behind Tailwind CSS is that instead of writing CSS from scratch, you can simply add pre-defined classes to your HTML markup. Some major benefits of using TailwindCSS are:

- **Speed**
TailwindCSS can help speed up your development process by reducing the amount of custom CSS you need to write.

- **Consistency and Maintainability**
Since all the styles provided in TailwindCSS are defined in pre-existing classes, it can help ensure consistency and maintainability across your codebase.

- **Responsive Design**
TailwindCSS provides utility classes that make websites and web pages be viewed on different devices with different resolutions e.g. laptops, mobile phones, and iPads.

- **Customizable and Community Support**
TailwindCSS is highly customizable as it provides core concepts such as hover, focus, and other states, reusable styling, and functions and directives.

###Cons
TailwindCSS provides amazing benefits to developers but it's not an all-rounder as it poses some demerits, some of which are:

- **Ugly HTML**
The addition of multiple utility classes to the HTML file can sometimes look ugly and might have just posed the question, "Why not just use inline CSS styling?".

- **Coding Skills and Installation Process**
In order to properly use TailwindCSS, you need to be familiar with the usage of custom CSS and you also need to run the installation process that generates the CSS which may be time-consuming and require additional cost.

- **Increases HTML Files**
Since you do not have to write your own CSS rules but rather use the utility classes provided by TailwindCSS, this makes the HTML file larger than usual.

##Materialize
Materialize CSS is a front-end web development framework that is based on Google's Material Design guidelines. It provides a set of CSS classes and JavaScript components that make it easier to create responsive and mobile-friendly websites.

Materialize provides elements and components such as grids, typography, color, and imagery that are visually pleasing. Emphasis on different actions and components creates a visual guide for developers. It is also called Material Design.

You can also visit the Materialize [website](https://materializecss.com/) and [GitHub repository](https://github.com/dogfalo/materialize) which currently has garnered over 38k likes and has been forked over 4k times by developers.

[![Materialize GitHub page](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pibur633rcfla3rwwo0p.png)](https://github.com/dogfalo/materialize)

###Installation of Materialize
Just like other CSS frameworks, Materialize provides a variety of ways to install and get started with using the framework. The major ways of getting started with Materialize are:

- **Download Materialize**
You can download Materialize to your computer based on your preference and expertise as it provides the standard version and the sass version, which contains the source SCSS files.

- **CDN**
You can also use Materialize right in the browser without any build steps.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;







&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;- **NPM**
Another option to pull Materialize source files into your projects is to install Materialize through the node package manager.
`npm install materialize-css@next
`

###Pros
Materialize is a front-end web development framework that makes use of classic principles of outstanding design along with innovation and technology. Here are some of the pros of using Materialize:

- **Easy to Use**
Materialize is a front-end framework that provides easy-to-use syntax that makes it easy to implement designs and interactivity on websites and web pages.

- **Consistent and Responsive Design**
Materialize gives consistent design based on its guidelines and also makes it easier to create a responsive design on large and smaller screens because it provides a grid system and pre-designed elements.

- **Community Support**
Materialize also possess a strong online community via their GitHub repository that allows getting answers to problems or bugs encountered.

###Cons
Explained in detail below are some downsides of Materialize and also contribute to factors to consider when choosing your CSS framework of choice.

- **Requires Coding Skills**
Materialize requires that users have some prior knowledge of coding and in some cases JavaScript as well, which may not be suited for all users.

- **Large file size**
Materialize requires that users have some prior knowledge of coding and in some cases JavaScript as well, which may not be suited for all users.

- **Large file size**
Materialize contains pre-designed components that may result in a larger file size and can make load times slower for websites and web pages.

- **Customization is limited**
Even though Materialize provides consistent designs, their pre-designed components might be limiting for users who may want to make further adjustments.

- **Pricing**
Materialize also has a monthly subscription which may cause additional costs for developers.

##Custom CSS
Also referred to as CSS, Pure CSS, or Vanilla CSS, Custom CSS is a style sheet language used to describe the presentation of a document written in HTML (Hypertext Markup Language) or XML (eXtensible Markup Language).

Custom CSS is basically used to format the layout of a webpage or website. CSS was developed by World Wide Web Consortium (W3C) with its initial release on the 17th of December, 1996.

You can also visit the [website](https://www.w3.org/TR/CSS/#css) for more insights.
[![W3C website snapshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ou5aj16jc9z3axhr98dr.png)](https://www.w3.org/TR/CSS/#css)

###Using Custom CSS
You can select from the below-listed options to get started with using custom CSS in your projects.

- **Inline CSS**
You can start using custom CSS by simply adding the style attribute to the HTML element that requires styling.

`&amp;lt;p style="color:blue;"&amp;gt;An inline styling&amp;lt;/p&amp;gt;`

- **Internal CSS**
This entails defining the style for a single HTML page, which is placed in the `&amp;lt;head&amp;gt;` section of the HTML page, within a `&amp;lt;style&amp;gt;` tag.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0lmqgb8o18izy2oy25db.png)

- **External CSS**
The external CSS can be used to provide style for many HTML pages. To use this, simply add a &amp;lt;link&amp;gt; to the &amp;lt;head&amp;gt; section of each HTML page.

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;




&lt;br&gt;
  &lt;br&gt;




&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
###Pros
Using custom CSS boasts several merits and some of which have been detailed below.

- **Better User Experience and Consistent Design**
Custom CSS makes websites and webpages more interactive and appealing to the eye thereby improving user experience. It also allows developers to ensure the style elements are used as appropriate across the web pages.

- **No Installation process is required**
There is no prior installation required to get started with custom CSS, unlike the frameworks.

- **Speed and Time Saving**
Since CSS enables you to use less code, as you can repeat several styles across web pages, this thereby enhances faster page speed and saves time.

- **Responsive Design**
Custom CSS enables developers to build websites and web pages that are visually appealing on small screens as well as larger screens with the use of media queries.

###Cons
There are a few demerits of using CSS. It is imperative to have this at the back of your mind when building projects with custom CSS. Some of these downsides are:

- **Coding Knowledge**
CSS requires users to have prior coding experience as it has various properties and values that must be correctly understood and applied, and CSS can be difficult to learn and master.

- **Time consuming and Effort**
Learning CSS requires a lot of time to learn and practice, as well as a lot of effort to actually master its usage and functionality.

- **Confusion Due to Levels**
Figuring out which CSS to learn can be quite confusing as there are various levels e.g. CSS2, and CSS3, which might confuse most beginners.

##Conclusion
This article covers a detailed comparison between Bootstrap and 3 other alternatives (Tailwind CSS, Materialize, and Custom CSS), you should be aware that there are other notable alternatives to Bootstrap that you can learn.

Learning Custom CSS is a basic requirement before proceeding to select a preferred CSS framework, this is to ensure you have appropriate coding skills before moving ahead to frameworks.

Selecting a CSS framework to use in your project should be based on the use case, development, or production of such a project, and sometimes might be based on personal preference.

Thank you for reading, kindly share your feedback in the comment section, and feel free to connect with me on [GitHub](https://github.com/badbatunde) | [Twitter](https://twitter.com/badbatunde) | and [LinkedIn](https://linkedin.com/in/badbatunde) 💖, and see you at the next one, cheers 🍸.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>bootstrap</category>
      <category>tailwindcss</category>
      <category>frontend</category>
      <category>javascript</category>
    </item>
  </channel>
</rss>
