<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Reito Serizawa on Medium]]></title>
        <description><![CDATA[Stories by Reito Serizawa on Medium]]></description>
        <link>https://medium.com/@s.reitiger?source=rss-45e32dedef62------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ZH6-DBkcEI1ugmQ4HCSBPQ@2x.jpeg</url>
            <title>Stories by Reito Serizawa on Medium</title>
            <link>https://medium.com/@s.reitiger?source=rss-45e32dedef62------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 11:37:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@s.reitiger/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to start a Django Python app]]></title>
            <link>https://medium.com/@s.reitiger/how-to-start-django-python-app-abc12a12f0f4?source=rss-45e32dedef62------2</link>
            <guid isPermaLink="false">https://medium.com/p/abc12a12f0f4</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[django]]></category>
            <category><![CDATA[installation]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[setup]]></category>
            <dc:creator><![CDATA[Reito Serizawa]]></dc:creator>
            <pubDate>Fri, 10 Mar 2023 22:18:07 GMT</pubDate>
            <atom:updated>2023-03-13T17:37:09.494Z</atom:updated>
            <content:encoded><![CDATA[<h4>Understanding the Structure of Django/Python App</h4><p>Django is one of the most popular Python-based frameworks which is free and open source. The reason why Django is popular is not only about the cost. It is encouraging rapid development and organized design. In this article, I will show how to start a Django/Python app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HVKOLLX7wprRbHTl2IPDcQ.png" /><figcaption>Django logo</figcaption></figure><h3>Installation</h3><h4>Python Installation</h4><p>To start the app, you need to install Python. Go to the <a href="https://www.python.org/downloads/">Download page</a> and install it depending on your operanting system. Once the installation is completed, you can check Python’s version via a command in a terminal below:</p><pre>python3 --version</pre><p>If you are installing the version older than Python 3, simply change the command to python --version.</p><h4>Django Installation</h4><p>Next, it is time to install Django. There are a couple of steps to follow in order to install Django. I recommend to create a directory for the project and work from there now on.</p><p>Step 1— Install pip. When you install Python, it generally comes with an <em>ensurepip</em> module. We can use the module tp install pip in a terminal. If you don’t have ensurepip module, please check <a href="https://pip.pypa.io/en/stable/installation/">this</a> documentation to install pip.</p><pre>python -m ensurepip --upgrade</pre><p>Step 2 — Create the virtual environment known as <em>venv</em>. Venv<em> </em>is a tool that is created on top of the Django/Python application. It is important to use venv<em> </em>when you are working on a Django/Python project because it separates the packages from the base environment. By doing so, venv is telling the application this porject only uses these packagaes. It avoids all of your packages that are used in the application land in the same folder as the project. You can change the below codename_of_venv to any venv name you want to use.</p><pre>python3 -m venv name_of_venv</pre><p>After creating venv, you can activate it by the code below:</p><pre>source project_directory/name_of_venv/bin/activate</pre><p>If you want to deactivate, simply type deactivate in a terminal.</p><p>Step 3— Install Django. After activating venv, it is time to install Django. You can do so by the code below (you don’t need to specify python3 under venv):</p><pre>python -m pip install Django</pre><p>Now all the installations are completed, let’s start the project!</p><h3>Set-up</h3><p><strong>For a structure reason, I would recommend to create another directory in the project directory to separate the project and virtual environment folder.</strong> <strong>Remeber to keep the activated venv. </strong>Now, let’s set up a Django application. To do so, create the Django application with the below code (you can change project_name to the project name you want):</p><pre>django-admin startproject project</pre><p>This creates the project folder and manage.py file in the directory. Then, create the database side of a folder with the code below (you can change database to the project name you want):</p><pre>python manage.py startapp database</pre><p>If you would like to change the database engine from SQLite to others, this is a good time to change. If you would like to keep SQLite, migrate the database with the code below:</p><pre>python manage.py migrate</pre><p>Now in the project drectory, we have 1 folder for <em>venv</em>, 1 folder for the project. Inside the project folder, there is a database folder, a project folder and manage.py. The database folder is used to work on the API/database related tasks. The project folder is used to connecting the application with the API/database. manage.py file is used to interact with the Django project in various ways including migrations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ElfBFtOfYJF3oD_bvsgFAA.jpeg" /></figure><h3>Conclusion</h3><p>That was all the installation and set-up to start a Django/Python application. It is very easy to install and start with so I strongly recommend to use a Django/Python application in order to understand the framework.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=abc12a12f0f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Authentication steps for Ruby on Rails]]></title>
            <link>https://medium.com/@s.reitiger/authentication-steps-for-ruby-on-rails-54affc6a0f62?source=rss-45e32dedef62------2</link>
            <guid isPermaLink="false">https://medium.com/p/54affc6a0f62</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Reito Serizawa]]></dc:creator>
            <pubDate>Tue, 28 Jun 2022 14:45:26 GMT</pubDate>
            <atom:updated>2023-03-13T17:39:17.447Z</atom:updated>
            <content:encoded><![CDATA[<h4>The Log-in/Log-out/Sign-up Features</h4><p>When you are creating a website, it is very common to have the authentication features, such as log-in, log-out and sign-up. These features are much easier to code using Ruby on Rails. In this article, I will explain how to make these features step by step.</p><h3>What is authentication?</h3><p>Authentication is basically giving clients a key to open the front door. Without the key, you will be able to see the outside of the house but are not sure about the inside. (No, you should not peek in the window). By signing up, you are getting a key for the entrance. Logging in lets you open the front door. Logging out gets you out of the house.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*Y7T8YwdhziRAwH1JimrfXA.jpeg" /></figure><h3>Preparation</h3><ul><li>Add gem ‘bcrypt’ to Gemfile — This gem helps passwords encrypt. For security reasons, we should never save users’ passwords in the database without encryption.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/468/1*NaYpfkWYzwKc13vnedx40g.png" /></figure><ul><li>Use the ‘has_secure_password’ method in the ‘User’ model — This method encrypts passwords and save in the database.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*R7RptfSwH_TxhYSDFyaK2Q.png" /></figure><ul><li>Create a table for the user information with the ‘password_digest’ column — This column holds encrypted passwords that the ‘bcrypt’ gem generated. Though it is only one column in the schema, the ‘bcrypt’ gem actually creates a ‘password’ and ‘password_confirmaton’ column from the ‘password_digest’ column.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/932/1*sV2E8s6sSAlGLb9AqROlLw.png" /></figure><h3>Define Routes in config/routes.rb</h3><p>The below routes lead to each feature. We will use sessions to keep the user data so that users keep logged in even after refreshing the page. Sessions are similar to cookies, and Rails make sessions more secure than cookies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*_eKhSVro0iyZ-RDNtqhoFQ.png" /></figure><ul><li>The post method for ‘/signup’ in the user controller— This method basically saves a new user information in the user data</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0NtZ6dVuvOo3MOj5ZFB18g.png" /></figure><ul><li>The post method for ‘/login’ in the session controller — This method finds the user data from the username and if the password matches, it saves the user information in the sessions and stays logged in.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VTy9WA4kvy30drw4VASRCg.png" /></figure><ul><li>The get method for ‘/me’ in the user controller — This method finds the user data from the session (the logged-in user) and sends the data to the front end.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PXQzaYR05E0_wt6Si7vh5Q.png" /></figure><ul><li>The delete method for ‘/logout’ in the session controller — This method deletes the logged-in user information from the session.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/758/1*b_25r7J4x-8uzvjoaJM8TQ.png" /></figure><p>These are all the routes needed to use the authentication features. These routes should be connected to the front end and I will show some example codes below from my project ‘Zoomies’.</p><h3>Connecting with the Front End</h3><h4>The Sign-up Feature</h4><p>The below code is an example of the sign-up feature connecting with the back-end route for ‘/signup’. It handles when the user submits the new user information. (We are using ‘setErrors’ to handle errors but we will skip this topic since this is not our focus). It also sets the user information in ‘setUser’ so that we can use the information like a name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XtuocPB3OOEKSfEshTrFkA.png" /></figure><h4>The Log-in Feature</h4><p>This function handles when the user submits the username and password. The back end is checking if the username and password match. If it does, the user information will be set in ‘setUser’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kmPZBGISH5mBjAt37AZBAA.png" /></figure><h4>Keep Logged In</h4><p>If you refresh the page, ‘setUser’ loses the user information. To keep logged in, we have to get the user information from the session. This get method sends the data from the back end and sets it in ‘setUser’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*lgCO81z2COFct8a6iKi-2w.png" /></figure><h4>The Log-out Feature</h4><p>This feature is very simple. When the user clicks the log-out button, this function deletes the user information from the session and ‘setUser’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*y8C9i0PXIIsFXaffuOeAIg.png" /></figure><h3>Conclusion</h3><p>Using Ruby on Rails makes authentication much easier. It makes us easier to code different features. Hope the flow above helps! Let me know if you have any questions.</p><p>Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54affc6a0f62" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Use the JSON Formatted Data in Ruby and JavaScript]]></title>
            <link>https://medium.com/@s.reitiger/how-to-use-the-json-formatted-data-in-ruby-and-javascript-4f7cd202886b?source=rss-45e32dedef62------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f7cd202886b</guid>
            <dc:creator><![CDATA[Reito Serizawa]]></dc:creator>
            <pubDate>Mon, 06 Jun 2022 13:58:12 GMT</pubDate>
            <atom:updated>2023-03-13T17:39:04.734Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to use the JSON formatted data in Ruby and JavaScript</h3><h4>CRUD of the HTTP methods for utilizing data — Create, read, update and delete</h4><p>As full-stack software engineers, we all deal with data. These data can be anything from a list of users to images you see on Instagram. But how can we transfer data like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7nMOaC2NSVKOCiPpf7MeVw.png" /><figcaption>Screenshot of the instructor table of SQLite for my Yoga project</figcaption></figure><p>Into this?:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eFX4Zj4DQs7Os7MtV8D8hw.png" /><figcaption>Screenshot of my Yoga project (Instructor page)</figcaption></figure><p>Websites we see daily contain the data like the above, and they will somehow use it and transform it into what we see. This is because they are using HTTP methods, such as GET, and pass the data into the front-end. In this blog, I will explain what HTTP methods are and how we can use them in Ruby using Sinatra and JavaScript using the fetch API.</p><h3>What are the HTTP methods?</h3><p>When you try to get the data from the server and see them on the browser, there is communication between the server (backend) and the browser (frontend). The talk between them is controlled by a protocol, which is called HTTP. HTTP stands for hyper-text transfer protocol. It is a language that browsers speak and when an HTTP requests to the server, these requests are referred to as the HTTP request methods. There are different types of methods but in this blog, we will focus on the basic CRUD — create, read, update and delete.</p><h4>Create</h4><p>To create a new source in the data, the HTTP method uses ‘POST’. It is often used in the form to create data and send the data to the server.</p><h4>Read</h4><p>This is the method that is mainly used on the web. For example, when we type “https://www.google.com” in the address bar and access the webpage, we are using the ‘GET’ method to get the data from the domain (“google.com”) and show the result on the browser. This ‘GET’ method is referred to as reading the data sent back from the server.</p><h4>Update</h4><p>To update the data in the server, we use the ‘PATCH’ method to request the server. This is different from creating new data because ‘PATCH’ is only used for the pre-existing data in the server.</p><h4>Delete</h4><p>To delete the pre-existing data, we use the ‘DELETE’ method. It simply deletes the data from the server by the request.</p><h3>Using Above the CRUD in Ruby and JavaScript</h3><p>We touched on the basics of the HTTPS methods, but how can we use these methods on our websites? I would like to introduce how these methods are used in Ruby as the backend language (the server-side) and JavaScript as the front-end language(the client-side/the browser side). Since we are focusing on the HTTP methods in this blog, we will use the pre-existing data created in Ruby using ActiveRecord.</p><h4>Preparation</h4><p>We will be using Sinatra in Ruby in order to use the HTTP methods in this blog so let’s get it installed in your project.</p><p>Firstly, create a file called ‘application_controller.rb’ in the ‘controllers’ folder under the ‘app’ folder on the server-side</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/207/1*hP7xvfXmmYj-QI6vJZ-AHQ.png" /></figure><p>Next, install the Sinatra gem by simply typing in the terminal:gem install sinatra</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*oRtoca2wqf1E2lNeZEzh6g.png" /></figure><p>Then, type in the class as ApplicationController (capitalize the first letter) and make sure the class is inheriting from Sinatra::Base</p><p>That’s it! This is the preparation for Ruby to use the HTTP methods with Sinatra. Make sure you are running the server before moving forward! We will need the URL for the server, such as “http://localhost:9292/classes”.</p><h4>The ‘POST’ Method</h4><p><em>Ruby</em></p><p>The ‘POST’ method that allows creating a new data and posting the data to the server looks like the below in Ruby:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/1*N_KYmirn3ZIGTX0VJJ5gcA.png" /></figure><ol><li>We define the HTTP method as ‘post’ and type the route for the data server. In this case, I am referring to the local host server (“http://localhost:9292/classes”) that I created for my ‘Yoga’ project which has a table for yoga classes.</li><li>We define what the ‘POST’ does to create data in the table. It takes keys and values. The reason the values look like ‘params[:key_name]’ is because we are using the params hash. Since the value takes on whatever the browser defines, this method passes the value defined by the input in the front-end.</li><li>Make sure the data is turning into JSON because we are using JSON as the data format.</li></ol><p><em>JavaScript</em></p><p>In JavaScript, we are using the ‘fetch’ method to send the request to the server. Since we defined the ‘POST’ method on the server-side, we can actually create the new data and send it to the server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*0j4cKETn0-9PPFiBeKAkyQ.png" /></figure><ol><li>Pass the URL of the server-side in the ‘fetch’ method</li><li>Define the method as ‘POST’ and the headers as the content-type equal JSON and accepting data type equal JSON. Pass the new data in the parameter of JSON.stringify defining it as the body.</li><li>Convert the JSON data to JavaScript Objects and make sure it console.log the new data.</li></ol><h4>The ‘GET’ Method</h4><p><em>Ruby</em></p><p>The ‘GET’ Method is very simple. By defining the method in Ruby, it allows access to the data from the URL and the front-end can utilize the data to create the webpage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/249/1*FEmV0w3GoUJeEk6neeXpwg.png" /></figure><ol><li>Define the ‘get’ method</li><li>In this case, we are getting all the data of yoga classes from the Yoga Class table by accessing the URL.</li></ol><p><em>JavaScript</em></p><p>After the back-end allows access to the data by the ‘GET’ method, the front-end can access the data and use it on the webpage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/303/1*9S3Jy8d8T3YS_7yTvFrdOA.png" /></figure><ol><li>Use the ‘fetch’ method and the ‘fetch’ method has the ‘GET’ method as a default, we don’t need to define it.</li><li>Make sure you get the data by using console.log</li></ol><h4>The ‘PATCH’ Method</h4><p><em>Ruby</em></p><p>The ‘PATCH’ method is structured similarly to the ‘POST’ method in Ruby. Though, it needs to grab the specific route of the particular data ID that you are updating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/380/1*9lQBp5Eo39VVUu2NpTPd8g.png" /></figure><ol><li>Define the ‘PATCH’ method and pass the route leading to a specific ID by ‘/:id’</li><li>Find the data to update. In this case, we are using ‘params[:id]’ to match the ID defined in the route path — the data updating must be defined and use the hash params</li></ol><p><em>JavaScript</em></p><p>After setting up the ‘PATCH’ request in the back-end, you can now use the ‘fetch’ method from the front end and update certain data. Just like the back end, the route for the ‘fetch’ method needs to connect to the specific ID that you are updating with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*BpakkeoPpq1l5JqKr0zJ9w.png" /></figure><ol><li>Use the ‘fetch’ method and the ‘fetch’ method has the ‘PATCH’ method.</li><li>Fill in the headers and it should be the same as the ‘POST’ method since we are using JSON as a format</li><li>Pass the updated information within the body, the keys need to match with the ones defined in Ruby</li><li>Make sure you get the updated data by using console.log</li></ol><h4>The ‘DELETE’ Method</h4><p><em>Ruby</em></p><p>The ‘DELETE’ method is one of the simplest HTTP methods. The route should be leading to the specific ID that you are deleting. If you use the route to the specific data table, it will delete the whole table! It can be defined in the Ruby using Sinatra as below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/340/1*nhIDHokzSbTvCApd0tRojQ.png" /></figure><ol><li>Define the ‘DELETE’ method and pass the route leading to a specific ID by ‘/:id’</li><li>Find the data to update, using ‘params[:id]’ to match the ID defined in the route path, use the destroy method and return a JSON string</li></ol><p><em>JavaScript</em></p><p>The code is very similar to the ‘GET’ method in JavaScript. You don’t need to type the headers or body since it is just deleting the data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*CAh55YEdtOhnmXmdT1luzQ.png" /></figure><ol><li>Use the ‘fetch’ method and define it as the ‘DELETE’ in the method</li><li>Return the data — the console should not log any data since it is deleted</li></ol><h3>CRUD</h3><p>These are the HTTP methods used as CRUD — create, read, update and delete in JavaScript and Ruby. As software engineers, we handle data every day and it can be overwhelming. Hope this blog helps you to understand how to use the data and transform them!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f7cd202886b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing websites with Bootstrap]]></title>
            <link>https://medium.com/@s.reitiger/designing-websites-with-bootstrap-852d0f783583?source=rss-45e32dedef62------2</link>
            <guid isPermaLink="false">https://medium.com/p/852d0f783583</guid>
            <dc:creator><![CDATA[Reito Serizawa]]></dc:creator>
            <pubDate>Fri, 13 May 2022 16:01:48 GMT</pubDate>
            <atom:updated>2022-05-13T16:01:48.394Z</atom:updated>
            <content:encoded><![CDATA[<h4>How Bootstrap helped my websites look awesome!</h4><p>Web design has changed and evolved over the years. What I used to see when I was 10 years old was a very simple JavaScript page with some moving stars and hearts, but the websites now are very organized and styled minimally. If you have experience in building a web page from scratch, you know how frustrating it can be to design using CSS. Setting up elements by IDs and classes, and modifying by a pixel… doesn’t it sound stressful already?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*9Vb4xa47bnhsR9jLfP_fag.png" /><figcaption>Image from <a href="https://getbootstrap.com/">Bootstrap</a></figcaption></figure><p>Using Bootstrap can dramatically change the way you design web pages. It is a powerful application made for web designers. So what is Bootstrap and how can we use it? In this blog, I will write about:</p><ol><li><em>Introducing Bootstrap</em></li><li><em>Setting up Bootstrap in projects</em></li><li><em>Using Bootstrap</em></li></ol><p>After reading this blog, you should feel confident about using Bootstrap!</p><h3>Introducing Bootstrap</h3><p>As I said before, Bootstrap is an application to design websites. It contains different templates to use in texts, buttons, forms, navigation bars, and so on. They can be easily installed in projects and used by calling templates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kBCHpzirDbv3FIodueTnvg.png" /><figcaption>Example of using Bootstrap in Navigation Bar</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lPrwK5VB6SACyqYeU5KMbQ.png" /><figcaption>Example of using Bootstrap in Form</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/488/1*ktRoknSZsN6gP5QNCUpLiA.png" /><figcaption>Example of using Bootstrap in Card</figcaption></figure><p>Now you know the cool designs that Bootstraps provides, how can we use them in projects?</p><h3>Setting up Bootstrap in projects</h3><p>In order to use Bootstrap in projects, you have to download them. Bootstrap provides different ways to do so, but we will focus on downloading by using HTML.</p><ol><li>Download Bootstrap’s CDN in the &lt;head&gt; element in HTML</li></ol><blockquote>&lt;link rel=”stylesheet” href=”https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css&quot; integrity=”sha384–9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4&quot; crossorigin=”anonymous”&gt;</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*adVH0wXJxF-pj1AykiljrQ.png" /></figure><p>2. Download Bootstrap’s CDN in the &lt;body&gt; element in HTML</p><blockquote>&lt;script src=”https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js&quot; integrity=”sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm” crossorigin=”anonymous”&gt;&lt;/script&gt;</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zc0zMvRgVv-2RINn_vnvdw.png" /></figure><p>All done! Now you can use Bootstrap in your projects!</p><h3><em>Using Bootstrap</em></h3><p>This is the most fun part of Bootstrap! Your project is now ready to use Bootstrap. Let’s go to check some of the Bootstrap templates online!</p><p>Go to <a href="https://getbootstrap.com/docs/4.0/utilities/text/">Text</a> from <a href="https://getbootstrap.com/">Bootstrap</a>. Do you see all the cool examples? Let’s try using Text Transform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fVb9rwayGbFdY8vXTVIJLQ.png" /><figcaption>Screenshot from <a href="https://getbootstrap.com/docs/4.0/utilities/text/">Text</a> on <a href="https://getbootstrap.com/">Bootstrap</a></figcaption></figure><p>Looking at this code, do you see the class attribute? They are Bootstrap’s pre-set designs. Try using these attributes and see how it changes your website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*Sa8T6SlqeL0n4_Kpy3DmJg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/346/1*b9xSp7Zmk45iMuJQlz9bAw.png" /></figure><p>This is how to use bootstrap! It is very easy, right? Bootstrap has different components than Text so feel free to check their <a href="https://getbootstrap.com/docs/4.0/getting-started/introduction/">website</a>.</p><p>If you want a simple webpage, the design part would not be too bad, but most websites use cool designs everywhere. Bootstrap is very easy to use in your project and it makes your website look modern. Try using Bootstrap and let me know if you have any questions!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=852d0f783583" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>