Giter VIP home page Giter VIP logo

chapstack's Introduction

The CHAP Stack

The CHAP stack is a super fun way to get started programming - use a little bit of CSS, HTML, and Python to publish client-side apps.

CHAP stack:

  • C = CSS (Cascading Style Sheets)
  • H = HTML (HyperText Markup Language)
  • And
  • P = Python (Programming Language)

Powered by Brython - Python in the browser!

CCSC-CP 2021

Prerequisites

  • A web browser (e.g. Chrome, Firefox)
  • Optional: A text editor or IDE (e.g. Notepad++ or VS Code)

1: Login to GitHub

  • Sign up for a free account at GitHub (requires email address)
  • Login to GitHub

2: Fork This Repo (or start from scratch)

3: Get Acquainted

  • Explore index.html
  • Explore the folders & files

4: Publish your Page

From the main page of your new repo:

  • Click Settings (end of Code / Issues / Pull Requests... / Settings).
  • Scroll down to GitHub Pages.
  • Enable GitHub Pages
  • Scroll back down to get a copy of your published URL.
  • CTRL-C to copy this to your clipboard.
  • Click on /chapstack to return to your main repo page.
  • Click the About gear icon on the right.
  • Paste your URL into the website field (CTRL-V)

5: Explore and Expand

  • We'll talk through the exercises as we go.
  • We use CSS for styling (Bootstrap does most of the work!)
  • We use HTML to define the content.
  • We use Brython (Browser Python) to add the logic - no installation needed!

(Optional) Set Python Formatting Provider

If using VS Code, you might want to set your Python Formatting Provider in VS Code. From the VS Code menu, select File/ Preferences / Settings. Search for "python formatting provider" and select "black" from the dropdown menu.

Terms and Resources

  • Black - Opinionated Python formatter
  • Brython - Python in the browser!
  • dictonary - a set of key-value pairs
  • document - a code representation of a web page
  • IDE - integrated development enviroment (e.g. VS Code)
  • repo - a respository, a folder or place to keep project code
  • stack - the list of technologies chosen to create an app

chapstack's People

Contributors

denisecase avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.