Coder Social home page Coder Social logo

m4-hw6-stanley-ezra's Introduction

JavaScript Pizza

Notes from Ezra:

At first I had no idea what was going on. Then, I started looking at the basic building blocks I was working with (objects, arrays, etc) and was able to Google questions relevant to the problem I was trying to solve. I found it useful to consider each step of the process very carefully instead of having the mindset of "this should easily come to mind all at once." The resourses I used included the Mozilla developer website, Stack Overflow, and W3 Schools.

Background

For this assignment, you are being tasked with completing an ordering system for a new business named "Web to Pizza". The ordering system will allow a user to click the "Order Now!" button, then ask the user a series of questions about their pizza order before returning a receipt that includes the order description and cost of the pizza. As a new developer on the team, you are being tasked with completing the pizza-ordering functionality for another developer that was pulled in a different direction.

Setup

Please create a git repository titled m4-hw6-lastname-firstname and clone the repo to your computer. Copy the files from the unsolved folder into the root directory of your repository folder.

Instructions

Your assignment is to finish the pizza-ordering logic contained in the getPizzaOrder function within index.js. All other aspects of the project are completed for this version, so you will not need to modify or add any other code. Follow the comments contained within getPizzaOrder closely as you work. The previous developer on the team is meticulous about commenting, so let her instructions guide you.

Your teammate is also a testing enthusiast and has already written a full set of tests for the getPizzaOrder function. If you run the project using live-server, you'll see a button titled "Run Tests". Clicking this will run a test suite on your function in the browser to let you know if you have met all the requirements for completing your assignment. When you are finished, you should also see completed and error-free orders populate the page after a user clicks "Order Now!" and answers the prompts.

Deployment

Your code must be deployed to GitHub Pages. To deploy a repository to GitHub pages you must

  1. Ensure your repository has an index.html file in the root directory.
  2. Navigate to the settings section of the repository
  3. Click on pages in the left navigation menu
  4. Under source click the dropdown and select your master or main branch
  5. Click save

Your site should be deployed to <your github username>.github.io/<your repository name> in 5-10 minutes.

Submission

Please submit both a link to your repository and a link to the live site. Also please include any comments on stumbling blocks or difficulties encountered while completing the assignment.

Resources

This assignment will test your ability to work with variables, primitive data types, objects, and arrays, as well as helper methods attached to those data structures.

W3 Schools Review:

W3 has beginner friendly resources for JavaScript. Feel free to work down the list on the left if you would like to review JS basics.

Additional MDN Resources:

m4-hw6-stanley-ezra's People

Contributors

seltzerfan24 avatar

Watchers

 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.