<?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: Gaius Nandur Isa'ac</title>
    <description>The latest articles on DEV Community by Gaius Nandur Isa'ac (@gaius_001).</description>
    <link>https://dev.to/gaius_001</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%2F1060553%2F67323843-304d-49a5-9abd-25f647b308c3.jpg</url>
      <title>DEV Community: Gaius Nandur Isa'ac</title>
      <link>https://dev.to/gaius_001</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gaius_001"/>
    <language>en</language>
    <item>
      <title>How To install React and create your First app</title>
      <dc:creator>Gaius Nandur Isa'ac</dc:creator>
      <pubDate>Fri, 28 Apr 2023 23:28:00 +0000</pubDate>
      <link>https://dev.to/gaius_001/to-install-react-and-create-your-first-app-50pp</link>
      <guid>https://dev.to/gaius_001/to-install-react-and-create-your-first-app-50pp</guid>
      <description>&lt;p&gt;To install React and create your first app, you can follow these steps:&lt;/p&gt;

&lt;p&gt;1 Install Node.js and npm (Node Package Manager) on your computer. You can download and install the latest version of Node.js from the official website: &lt;a href="https://nodejs.org/en/download/"&gt;https://nodejs.org/en/download/&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;2 Once you have installed Node.js, open your terminal or command prompt and run the following command to install the create-react-app package globally:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install -g create-react-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;3 After installing create-react-app, you can create a new React app by running the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;create-react-app my-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace "my-app" with the name you want to give your app. This will create a new React app in a folder with the same name.&lt;/p&gt;

&lt;p&gt;4 Once the app is created, you can navigate to the app's directory by running the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;cd my-app
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;5 Now you can start the development server by running the following command:&lt;br&gt;
&lt;/p&gt;

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

&lt;/div&gt;



&lt;p&gt;This will launch a development server and open your app in the browser. You can start editing the code in the "src" folder and see the changes in real-time.&lt;/p&gt;

&lt;p&gt;Congratulations, you have successfully installed React and created your first app!&lt;/p&gt;

</description>
      <category>react</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>How to code a complete navigation bar with Bootstrap 4</title>
      <dc:creator>Gaius Nandur Isa'ac</dc:creator>
      <pubDate>Wed, 12 Apr 2023 22:03:41 +0000</pubDate>
      <link>https://dev.to/gaius_001/how-to-code-a-complete-navigation-bar-with-bootstrap-4-lfi</link>
      <guid>https://dev.to/gaius_001/how-to-code-a-complete-navigation-bar-with-bootstrap-4-lfi</guid>
      <description>&lt;p&gt;Bootstrap is a popular front-end framework that provides pre-designed CSS and JavaScript components to create responsive and mobile-first web pages. One of the key components of any website is the navigation bar, which provides easy access to different sections of the website.&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%2F36p4tpw4do3vag5cnbal.jpg" 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%2F36p4tpw4do3vag5cnbal.jpg" alt="Image description"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To create a navigation bar with Bootstrap 4, follow these steps:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1..&lt;/strong&gt; Include Bootstrap CSS and JavaScript files: You need to include the Bootstrap CSS and JavaScript files in your HTML file. You can do this by adding the following lines of code in the &lt;/p&gt; section of your HTML file:&lt;br&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"&amp;gt;
&amp;lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"&amp;gt;&amp;lt;/script&amp;gt;

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

&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;2..&lt;/strong&gt; Create the HTML structure for the navigation bar: The next step is to create the HTML structure for the navigation bar. You can use the Bootstrap's built-in CSS classes to style your navigation bar. Here's an example of a basic navigation bar structure:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;nav class="navbar navbar-expand-lg navbar-light bg-light"&amp;gt;
  &amp;lt;a class="navbar-brand" href="#"&amp;gt;Logo&amp;lt;/a&amp;gt;
  &amp;lt;button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"&amp;gt;
    &amp;lt;span class="navbar-toggler-icon"&amp;gt;&amp;lt;/span&amp;gt;
  &amp;lt;/button&amp;gt;
  &amp;lt;div class="collapse navbar-collapse" id="navbarNav"&amp;gt;
    &amp;lt;ul class="navbar-nav ml-auto"&amp;gt;
      &amp;lt;li class="nav-item active"&amp;gt;
        &amp;lt;a class="nav-link" href="#"&amp;gt;Home &amp;lt;span class="sr-only"&amp;gt;(current)&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;
      &amp;lt;/li&amp;gt;
      &amp;lt;li class="nav-item"&amp;gt;
        &amp;lt;a class="nav-link" href="#"&amp;gt;About&amp;lt;/a&amp;gt;
      &amp;lt;/li&amp;gt;
      &amp;lt;li class="nav-item"&amp;gt;
        &amp;lt;a class="nav-link" href="#"&amp;gt;Services&amp;lt;/a&amp;gt;
      &amp;lt;/li&amp;gt;
      &amp;lt;li class="nav-item"&amp;gt;
        &amp;lt;a class="nav-link" href="#"&amp;gt;Contact&amp;lt;/a&amp;gt;
      &amp;lt;/li&amp;gt;
    &amp;lt;/ul&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/nav&amp;gt;

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

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;3..&lt;/strong&gt; Add CSS classes for styling: Bootstrap provides a wide range of CSS classes that you can use to style your navigation bar. For example, you can use the navbar class to define the main container for the navigation bar, and the navbar-light and bg-light classes to specify the light background color for the navigation bar. You can also use the navbar-brand class to style your logo, and the navbar-toggler class to create a hamburger menu icon for mobile devices.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4..&lt;/strong&gt; Add JavaScript for responsive behavior: Bootstrap's navigation bar is designed to be responsive, meaning it will automatically adjust its layout based on the screen size. To enable this behavior, you need to add Bootstrap's JavaScript files as mentioned in step 1. The JavaScript files include functionality for the navigation bar, such as the collapsible hamburger menu for mobile devices.&lt;/p&gt;

&lt;p&gt;That's it! With these steps, you should have a fully functional navigation bar using Bootstrap 4. You can further customize the appearance and behavior of the navigation bar by using additional Bootstrap classes and modifying the CSS as needed.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>css</category>
      <category>bootstrap</category>
      <category>html</category>
    </item>
    <item>
      <title>Understanding CSS Flex Box in 2 mins</title>
      <dc:creator>Gaius Nandur Isa'ac</dc:creator>
      <pubDate>Fri, 07 Apr 2023 14:56:49 +0000</pubDate>
      <link>https://dev.to/gaius_001/how-to-create-a-flex-box-with-css-fmf</link>
      <guid>https://dev.to/gaius_001/how-to-create-a-flex-box-with-css-fmf</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Cascading Style Sheets (CSS) is a styling language that web designers use to describe the display of a webpage. The Flexbox layout is one of the newer CSS layout modes that provide a powerful way to align and distribute items inside a container. In this paper, we will discuss how to create a feature using a Flex tag. This feature is useful for web designers who want to create responsive and dynamic layouts without relying on JavaScript libraries or frameworks.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--E6spqooT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nz8tiyqaki69xsyuawtn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--E6spqooT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nz8tiyqaki69xsyuawtn.png" alt="A diagram of a flex box in css" width="563" height="333"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Getting Started with Flex Tag&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Flexbox is a flexible layout mode that enables designers to create responsive layouts that can adapt to different screen sizes and devices. The Flex tag is an HTML5 element that enables designers to style the container element as a Flexbox container. To use the Flex tag, you must specify the display property as flex.&lt;/p&gt;

&lt;p&gt;Syntax:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.container {
  display: flex;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The Flex container has two main axes: the main axis and the cross axis. The main axis is the axis along which the Flex items are laid out, while the cross-axis is the perpendicular axis. By default, the main axis is horizontal, and the cross-axis is vertical.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;flex-direction&lt;/code&gt; property specifies the direction of the main axis of the Flex container. In the example above, &lt;code&gt;row&lt;/code&gt; means that the main axis is horizontal. The &lt;code&gt;align-items&lt;/code&gt; property specifies how Flex items are aligned vertically along the cross-axis. The &lt;code&gt;justify-content&lt;/code&gt; property specifies the alignment of Flex items along the main axis.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creating Responsive Designs with Flex Container&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of the main advantages of using the Flexbox layout is its ability to create responsive designs without the need for media queries. Media queries are used to specify different CSS styles for different device sizes. With Flexbox, designers can create flexible layouts that automatically adjust to different screen sizes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the example above, we're using the &lt;code&gt;column&lt;/code&gt; value for the &lt;code&gt;flex-direction&lt;/code&gt; property, which means that the Flex items are laid out in a vertical column. The &lt;code&gt;align-items&lt;/code&gt; property centers the Flex items vertically along the cross-axis.&lt;/p&gt;

&lt;p&gt;Controlling the Flex Item Size and Position&lt;/p&gt;

&lt;p&gt;Flex items have several properties that enable designers to control their size and position within the Flex container. The &lt;code&gt;flex&lt;/code&gt; property is one of the most powerful properties that designers can use to control the size and position of Flex items.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;.item {
  flex: 1;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;flex&lt;/code&gt; property specifies the contractibility and expandability of a Flex item. A value of 1 means that the item can grow or shrink to fill the available space. A value of 0 means that the item cannot grow or shrink.&lt;/p&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;In conclusion, the Flex tag is a powerful tool for creating flexible and responsive layouts. It provides web designers with a simplified way of aligning and distributing items inside a container. By using the Flexbox layout, designers can create complex layouts with less CSS code and without relying on JavaScript libraries or frameworks. With the Flexbox layout, web designers can create elegant designs that work well on different screens and devices.&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
    </item>
    <item>
      <title>New to Bootstrap? Don't Panic! Get Started Now !</title>
      <dc:creator>Gaius Nandur Isa'ac</dc:creator>
      <pubDate>Fri, 07 Apr 2023 04:47:54 +0000</pubDate>
      <link>https://dev.to/gaius_001/new-to-bootstrap-lets-learn-together--i41</link>
      <guid>https://dev.to/gaius_001/new-to-bootstrap-lets-learn-together--i41</guid>
      <description>&lt;p&gt;Bootstrap is a widely used open-source front-end development framework that allows developers to create responsive and mobile-first websites quickly. Bootstrap simplifies the process of designing a website by providing pre-built UI components, responsive grids, and JavaScript plugins.&lt;/p&gt;

&lt;p&gt;In this technical write-up, we will go through the process of getting started with Bootstrap, from downloading the framework to building a simple website.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Download Bootstrap&lt;/strong&gt;&lt;br&gt;
The first step in getting started with Bootstrap is to download the framework from the official website (&lt;a href="https://getbootstrap.com/"&gt;https://getbootstrap.com/&lt;/a&gt;). Bootstrap can be downloaded in two forms: the compiled CSS and JS files or the source code.&lt;br&gt;
The compiled files are the ones that are ready to be used and do not require any compilation. They are best suited for those who want to get started with Bootstrap quickly and don't need to modify the source code.&lt;br&gt;
The source code, on the other hand, requires compilation before it can be used. This option is best suited for those who want to modify the Bootstrap code or add their custom code to it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Include Bootstrap in your Project&lt;/strong&gt;&lt;br&gt;
After downloading Bootstrap, the next step is to include it in your project. You can do this by either linking to the compiled files in your HTML document or by importing the source code into your project.&lt;br&gt;
To link to the compiled files, you need to add the following code to the head section of your HTML document:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;link rel="stylesheet" href="path/to/bootstrap.min.css"&amp;gt; &amp;lt;script src="path/to/bootstrap.min.js"&amp;gt;&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you downloaded the source code, you can import it into your project using a module bundler like Webpack or Parcel. Once imported, you can use the components and classes provided by Bootstrap in your HTML, CSS, and JavaScript code.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Understanding the Grid System&lt;/strong&gt;&lt;br&gt;
Bootstrap's grid system is one of its most powerful features. The grid system provides a responsive and flexible layout for your website. It consists of a 12-column grid that can be used to create layouts of different sizes. To use the grid system, you need to create a container element with the class "container" or "container-fluid". The "container" class creates a fixed-width container, while the "container-fluid" class creates a full-width container.&lt;br&gt;
Inside the container element, you can create rows using the "row" class. Each row can contain up to 12 columns. To create columns, use the "col" class, followed by a number that represents the number of columns you want the element to span.&lt;br&gt;
For example, to create a row with two equal columns, you can use the following code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;div class="container"&amp;gt; &amp;lt;div class="row"&amp;gt; &amp;lt;div class="col-6"&amp;gt;Column 1&amp;lt;/div&amp;gt; &amp;lt;div class="col-6"&amp;gt;Column 2&amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/div&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will create a row with two columns, each spanning six columns.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4: Using Bootstrap Components&lt;/strong&gt;&lt;br&gt;
Bootstrap provides a wide range of UI components that can be used to create responsive and mobile-first websites. These components include buttons, forms, alerts, modals, and more.&lt;br&gt;
To use a component, you need to add its corresponding HTML code to your document. For example, to create a button, you can use the following code:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;button class="btn btn-primary"&amp;gt;Click me&amp;lt;/button&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This will create a button with the primary color.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Customizing Bootstrap&lt;/strong&gt;&lt;br&gt;
Bootstrap provides a wide range of customization options that allow you to modify the look and feel of your website. These options include variables, mixins, and utilities. Variables are used to define colors, font sizes, and other design-related properties. Mixins are reusable blocks of CSS that can be included in&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>bootstrap</category>
      <category>css</category>
      <category>html</category>
    </item>
  </channel>
</rss>
