Code Monkey home page Code Monkey logo

workedexamples's Introduction

Please add new worked examples!

This is a collaborative project to add worked examples to Code in Place. Thanks for your addition. Ideally problems are

  • clear
  • relevant to what students are learning
  • real world (if possible)
  • fun (if possible)
  • short

See en/emc2-console for an example of a compiled example. See examples/emc2-console to learn what its like to author an example.

In order to create a new worked example

  1. Make a new dir in 'examples' for your new worked example
  2. Add the following files to your worked example
  • title.txt (the title of your worked example)
  • soln.py (the solution)
  • credit.txt (who wrote this!)
  • index.html (the body of the problem, written as HTML).

We are going to compile your worked example to make sure it gets styled correctly. In the index.html don't include a title, solution or credit. We will put that in.

In order to compile a new worked example

  1. Simply run compile.py from the root of the project.
  2. Your compiled worked example will be in the /en/ directory
  3. Warning: do not edit the file in en! Each time we compile it gets overwritten. Any changes should go into the examples dir.

In order to submit your worked example

Make a pull request! https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request If you have trouble, just send the worked example directory (the one in examples, not in en)

workedexamples's People

Contributors

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