Book Image

Learning Bootstrap 4 by Building Projects

Book Image

Learning Bootstrap 4 by Building Projects

Overview of this book

Bootstrap, the world’s most popular frontend framework, is an open source toolkit for building web applications with HTML, CSS, and JavaScript. Learning Bootstrap 4 by Building Projects covers the essentials of Bootstrap 4 along with best practices. The book begins by introducing you to the latest features of Bootstrap 4. You will learn different elements and components of Bootstrap, such as the strict grid system, Sass, which replaced Less, flexbox, Font Awesome, and cards. As you make your way through the chapters, you will use a template that will help you to build different kinds of real-world websites, such as a social media website, a company landing page, a media hosting website, and a profile page, with ease. By the end of this book, you will have built websites that are visually appealing, responsive, and robust.
Table of Contents (9 chapters)
Free Chapter
1
Introduction

Creating the My Friends section

In the previous section, we completed the left side of our page, which had the wall and bubble comments. Now we are going to start working on the right side, which will have our Friends and our Groups section. Before we proceed, let's look at the target site of what we are going to build:

So, back into VS Code to work on the sidebar. Let's populate our lg-4 column. Here is the code:

<div class="col-lg-4">
<div class="card friends">
<div class="card-heading">
<h6 class="card-title">My Friends</h6>
</div>
<div class="card-body">
<ul class="list-inline">
<li class="list-inline-item">
<a class="thumbnail" href="profile.html">
<img src="img...