Book Image

Bootstrap for Rails

By : Syed F Rahman
Book Image

Bootstrap for Rails

By: Syed F Rahman

Overview of this book

Table of Contents (18 chapters)
Bootstrap for Rails
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. Creating a Shopping Cart Using Bootstrap Modals

This chapter is all about implementing what we have learned so far in Bootstrap. We won't be learning anything new here, but this chapter will definitely clear some of the core concepts such as using Bootstrap modal, typography, buttons, and responsive tables.

In this chapter, we will create a JavaScript modal that will serve as a shopping cart in our Shopping application. This cart will have all the features needed for any shopping website. For demo purposes, we will be displaying only static data in our shopping cart.

In a nutshell, we will cover the following topics:

  • Adding a shopping cart symbol

  • Creating a shopping cart using modals