Reader small image

You're reading from  Bootstrap 4 Cookbook

Product typeBook
Published inJun 2017
Reading LevelBeginner
PublisherPackt
ISBN-139781785889295
Edition1st Edition
Languages
Right arrow
Author (1)
Ajdin Imsirovic
Ajdin Imsirovic
author image
Ajdin Imsirovic

Ajdin Imsirovic is a full-stack web developer who has published several courses on the subject of web design and web development. He has also authored three books, Bootstrap 4 Cookbook, Elm Web Development, and Vue.js Quick Start Guide. In his fourth book, Vue CLI 3 Quick Start Guide, he introduces readers to the rich ecosystem of frontend tooling and best practices.
Read more about Ajdin Imsirovic

Right arrow

Building a simple page with the default grid


In this recipe, we will build a simple, well-rounded page to demonstrate how easy it is to work with Bootstrap 4 to create layouts. It is assumed that you are using Cloud9 IDE, but you can follow this recipe in any environment. At the end of the recipe, you should have a fully customized modular page.

Getting ready

To get started quickly, refer to the code provided with the book (folder: chapter02-07).

For basic information on how layouts work in Bootstrap 4, check out http://v4-alpha.getbootstrap.com/layout/overview/.

How to do it...

  1. In workspace/app/index.ejs, change the code to look like this:
      <!--
       <div class="container">

       <div class="starter-template">
       <h1>Bootstrap 4 Grid Recipe</h1>
       <p class="lead">Use this document as a way to quickly start any  
       new project.<br> All you get is this text and a mostly barebones  
       HTML document.</p>
       </div>...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Bootstrap 4 Cookbook
Published in: Jun 2017Publisher: PacktISBN-13: 9781785889295

Author (1)

author image
Ajdin Imsirovic

Ajdin Imsirovic is a full-stack web developer who has published several courses on the subject of web design and web development. He has also authored three books, Bootstrap 4 Cookbook, Elm Web Development, and Vue.js Quick Start Guide. In his fourth book, Vue CLI 3 Quick Start Guide, he introduces readers to the rich ecosystem of frontend tooling and best practices.
Read more about Ajdin Imsirovic