Giter Club home page Giter Club logo

04-project-pizza-bot's Introduction

Pizza Bot

Week 4 project: to create a simple text-based bot which you can use to order pizza on your computer. This was also done as a pair programming project. To begin with we had to greet the customer, ask the customer what they want to order and then finalize the order, using variables. Then later on we had to add conditionals and then add functions. The final task was to make the final feedback text appear on the website itself.

The problem

We started well using prompts to create variables, but then we began to have problems when we started adding the commands to functions. The initial layout of the code was the first obstacle. We found that we couldn't get a function to work, until we released we had to move the function text above the code that was calling that function. We created a button which you click on to start the whole pizza bot process.

As another additional feature, We also created a function to display an image of the chosen pizza alongside the confirmation text.

View it live

We made the website responsive to make sure it looks good on smaller devices. Our pizza bot site can be viewed here

04-project-pizza-bot's People

Contributors

andrea-osmar avatar jenniedalgren avatar hannapettersson 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.