Code Monkey home page Code Monkey logo

comp0034-wk6's Introduction

COMP0034 Week 6 Coding activities: HTML, CSS, Flask Jinja and Dash layout

NB: The apps are now in a directory called 'src'. Remember to do the pip install -e . step below.

Set-up

  1. Fork the repository https://github.com/nicholsons/comp0034-wk6

  2. Clone the forked repository to create a project in your IDE

  3. Create and activate a virtual environment in the project folder e.g.

    • MacOS: python3 -m venv .venv then source .venv/bin/activate
    • Windows: py -m venv .venv then .venv\Scripts\activate
  4. Check pip is the latest versions: pip install --upgrade pip

  5. Install the requirements. You may wish to edit requirements.txt first to remove the packages for Flask or Dash if you only want to complete the activities for one type of app.

    • e.g. pip install -r requirements.txt
  6. Install the paralympics code e.g. pip install -e .

Activity instructions

The activities introduce HTML and CSS in the specific contexts of Dash and Flask. That is, you will learn just enough HTML and CSS to get you started with the application frameworks.

There are two versions of the activities. You can complete both, or just the version for the framework you intend to use for coursework 2. Dash is for dashboard apps (apps that mostly contain charts); Flask is for any other app e.g. pages that include a feature that uses a machine learning model or pages that work with the data in some other way.

  1. Dash activities
  2. Flask activities

If you want to learn a little HTML, CSS and JavaScript independently of the application framework then the activities folder includes optional activities: html intro, css intro, responsive design intro, and js intro.

comp0034-wk6's People

Contributors

nicholsons 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.