Bootstrap


John Alexis Guerra Gómez


Slides:http://johnguerra.co/lectures/webDevelopment_fall2023/04_Bootstrap/

Class page:http://johnguerra.co/classes/webDevelopment_fall_2023/

Project 1

P1 Requirements

  • Your homepage: Your skills, courses, projects, hobbies, etc.
  • W3C Compliant
  • ✓ Bootstrap 5+ (can use templates)
  • ✓ At least two pages
  • ✓ At least one JS (Vanilla) feature not copied
  • ✓ Can use templates

P1 Submission Requirements

  • ✓ Include design document
  • Github page (README, MIT License, code)
  • Deployed URL (consider github pages)
    • Must remain online 6 months after the class ends
  • 2 min presentation Google slides
  • Code review (Github Pull Request)
  • 3 min Video demonstrating

Design document

  • Description
  • User Stories
  • Wireframes

Presentation

  • Objective
  • Technologies used
  • What you are most proud of
  • What was the hardest part
  • Demo
  • Use Google Slides
  • Make sure they are public

Code + Github

  • Organized Files
  • Good README
  • MIT License (or equivalent)
  • Demo linked
  • Code must freeze 24 hours before the deadline
  • Create a release

Good README

  • Good project name
  • Project objective
  • Screenshot (gifs are preferred)
  • Tech requirements
  • How to install/use
  • Author with link to homepage
  • Reference to the class with link
  • Link to the video demonstration
  • Use Github Markdown

Code Review

  • Suhas will assign the code reviews
  • Must be done during the 24hs before the deadline
  • If the person you are reviewing doesn't have code, tag them in Slack #general
  • Be respectful
  • Use positive comments
  • Praises count
  • Provide constructive feedback

What did we learn last time?

Readings discussion

  • questions?

Random Questions

  • What is bootstrap?
  • What is the grid system?
  • How do you use bootstrap?

Bootstrap

Basic template

<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous">

    <title>Hello, world!</title>
</head>
<body>
    <h1>Hello, world!</h1>

    <!-- Optional JavaScript; choose one of the two! -->

    <!-- Option 1: Bootstrap Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" crossorigin="anonymous"></script>

    <!-- Option 2: Separate Popper and Bootstrap JS -->
    <!--
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.4/dist/umd/popper.min.js" integrity="sha384-q2kxQ16AaE6UbzuKqyBE9/u/KzioAlnx2maXQHiDX9d4/zp8Ok3f+M7DPm+Ib6IU" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.min.js" integrity="sha384-pQQkAEnwaBkjpqZ8RU1fF1AKtTcHJwFl3pblpTlHXybJjHpMYo79HY3hIi4NKxyj" crossorigin="anonymous"></script>
    -->
</body>
</html>



The Grid System

Let's see it on action

Github pages

https://pages.github.com/

Use themes

https://startbootstrap.com/

Exercise

Create a Webpage for the class' students

  • Share your results