Skip to content

dhasteer/webdev_workshop

Repository files navigation

webdev_workshop

Clone or update the repository

If you HAVE NOT already cloned the repository:

Verify that you already have git on your computer. If not, please download the software from this site.

(I make the assumption that you are familiar with using your terminal.) Run the following command in a directory where you would like to develop your code:

git clone https://github.com/dhasteer/webdev_workshop.git

If you HAVE already cloned the repository:

Run the following command in the webdev_workshop directory wherever you cloned it: git pull.

Environment Setup

Move to the webdev_workshop directory wherever you cloned it. Verify that you already have python on your computer (version 3.8+). If not, please download the software from this site. Then, run the following setup commands.

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

This will install all the necessary Python libraries to go through the demo.

Agenda

  1. Understanding HTML structure
    • Reference on HTML tags
    • Learning about browser "inspect element" tool to navigate HTML
    • Exercise to add an element to the about page
  2. Styling via CSS
    • Reference on CSS selectors
    • Observe "inspect element" tool to identify applied style
    • Exercise to modify color for only the about page headline
  3. Brief discussion about Bootstrap library
    • Observe "import" via bootstrap.min.css, bootstrap.min.js
    • Reference on Bootstrap layout
    • Reference on Bootstrap custom components
  4. Aside on JS / JQuery dynamic components
    • Exercise to identify some dynamic components

  1. Introducing the Flask framework
    • Restructuring the website source files and media
    • API requests: GET, POST
  2. End-to-end flow
    • How to communicate frontend input with backend
    • How to communicate backend output with frontend

  1. (Bonus) Reference to ngrok to interact with webapp using any device

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published