diff --git a/README.md b/README.md index 33c7e601..51475897 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,17 @@ # Project Name -Replace this readme with your own information about your project. Start by briefly describing the assignment in a sentence or two. Keep it short and to the point. +The project this week, and the first project in sprint 2, our task was to produce a Pizzeria bot, virtual online Pizzeria with the basic javascript that we studied during this week, using alerts and prompts. ## The problem -Describe how you approached to problem, and what tools and techniques you used to solve it. How did you plan? What technologies did you use? If you had more time, what would be next? +I looked at Damiens video and used his example with the "alarm clock" as a basis. I had problems getting each step to work when I first tried using const instead of let and to move on to the next prompt or alert when making an incorrect input, such as choosing nr 4 instead of 1, 2, 3 which are the available options. + +Then I googled and got the response to use while loops. I tried that with some google help and Matildas instructions on the Thursday session and it worked out well. + +I have used let as variable and assigned empty strings as initial values to the variable. I have used while loops to check if the user's input is not one of the valid options by using === strict equality operator. I struggled with keeping my head straight with all the different meal choices, subtypes, portion sizes etc. + +If Í hade more time I would try to add more prompts and alerts such as more meal options and add a background image or hero, an order button and dig deeper into the JS basics and how to write less code but achieve the same. ## View it live -Have you deployed your project somewhere? Be sure to include the link to the deployed project so that the viewer can click around and see what it's all about +https://mamamia-pizzeria.netlify.app/ \ No newline at end of file diff --git a/code/index.html b/code/index.html index f7844d6b..4bed4a94 100644 --- a/code/index.html +++ b/code/index.html @@ -3,7 +3,7 @@
-Logic is executed automatically
+Pizza, Pasta and Salads