Giter VIP home page Giter VIP logo

bootstrap-1's Introduction

UDEMY COURSE - BOOTSTRAP PROJECT 1

Go to the Project Page

โ— https://gulcanc.github.io/Bootstrap-1/

The Purpose of the Project

๐Ÿ’ฆ Learning and creating high quality Bootstrap 4 theme and UI from scratch

๐Ÿ’ฆ Learning the Bootstrap 4 utilities, classes, components & JS widgets using a custom sandbox environment

๐Ÿ’ฆ Learn semantic HTML5 & modern CSS3 techniques

About the Project

This project is a fully responsive social media type site. We have a fixed navbar at the top, after that there is a home container which is a main show case area with a background image. This section containes the texts with icons and a form. After home section there are 3 sections (explore, create and share) that each of them a header and body section. Finally, there is a footer at the end of the page.

Techniques Used

We add a navigation menu to the navigation bar using an unordered list of clickable list items with different "IDs". We use a button for the navigation menu so that the navigation menu is properly displayed on the small screen.

   <button
      class="navbar-toggler"
      data-toggle="collapse"
      data-target="#navbarCollapse" >
      <span class="navbar-toggler-icon"></span>
    </button>

โšก Home Section

At the show case area we use flex box to align the texts and the icons. d-flex is used for the parent elements and it automatically aligns items horizantally. align-self-start and align-self-end are used for the child elements to individually change their alignment on the cross axis. For the texts, we use col-lg-8 class name for large screens, while for small screens we use d-none which means we do not want the texts are dipslayed in small screens. For this section, we use dark overlay its position is absolute that means we want it basically covers the entire home section.

For form we use card-form, form-group, form-control class names.

โšก Explore, Create and Share Sections

These three sections have a header section that contains a title, a paragraph and a button. Under the header section, they have a container that includes 6 columns div col-md-6 for medium screens, under below the medium screens, these two div elements stack on top of each other. Here, first div is the image and we use img-fluid class so that it fits inside the container for different sizes. The second div contains a title, a paragraph and the icons with texts.

โšก Footer Section

In the footer we have a contact button; when we click this button, a modal will be opened. Here we use data-toggle, data-target class names. We have to add the content of this modal outside of the footer. Here we add a button to close the modal and we use the property/value pairs class="close", data-dismiss="modal".

โšก Smooth Scrolling

To the body section we add data-spy="scroll", data-target="main-nav" and id="home". After that, we use javascript to init scrollspy for smooth scrolling.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.