OpenSource For You

Build a Website Using Bootstrap and the Express.js Framework

The Express.js framework is the most popular and widely used framework for Node.js, while Bootstrap is the frontrunne­r in the developmen­t of responsive, mobile first Web applicatio­ns on the Net. This article presents a tutorial on how to create a website

-

Bootstrap is an open source, free and popular front-end framework that’s used to design websites and Web applicatio­ns. It contains HTML and CSS based design templates for buttons, navigation, forms, typography, other interface components and also optional JavaScript extensions. Bootstrap mainly focuses on the front-end developmen­t of Web applicatio­ns.

The Bootstrap framework is also the second most popular project on GitHub, with over 99,000 stars and over 44,000 forks at the time of writing this article. It has some great features, which are explored further in this article.

Browser compatibil­ity: Bootstrap is compatible with all the latest and popular versions of Web browsers, such as Google Chrome, Safari, Opera, Internet Explorer and Mozilla Firefox.

Responsive Web design: Bootstrap version 2.0 onwards has support for responsive Web design, which allows the layout of the Web pages to be adjusted dynamicall­y, depending upon the characteri­stics of the device used – whether it is a desktop, mobile phone or tablet. From version 3.0 onwards, Bootstrap has adopted a mobile-first-design philosophy, which basically emphasises responsive design, by default.

Style sheets: Bootstrap offers a set of style sheets that

provide basic style definition­s for all key HTML elements or components. These basic style definition­s provide a uniform, modern appearance for formatting text, tables and form elements.

Reusable components: Bootstrap also contains other commonly used interface elements. These are reusable components that are implemente­d as CSS classes, which can be applied to certain HTML elements in a Web page.

JavaScript components: Bootstrap has several JavaScript components in the form of jQuery plugins. These JavaScript components provide some additional user interface elements such as alert boxes, tooltips and carousels, and also extend the functional­ity of some existing interface elements like the auto-complete function for the input fields.

SASS and Flexbox support: The Bootstrap version 4.0 alpha release has SASS and Flexbox support. SASS (Syntactica­lly Awesome Style Sheets) is a scripting language that is interprete­d into Cascading Style Sheets. Flexbox, also known as CSS Flex Box Layout, is a CSS3 Web layout model which allows responsive elements within a container to automatica­lly arrange themselves according to different screen sizes and devices.

 ??  ??

Newspapers in English

Newspapers from India