Skip to content

erber014/dinnerplanner-html

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Interaction Programing - Lab 0

=================================================

This project contains the startup code for Lab 0, which focuses on testing and the model. For more details on how to complete the assignment follow the instructions on the course website.

You only need to modify dinnerModel.js. If you modify the other files, merging might be a bit more tricky for you when moving to the next lab.

Testing

Open index.html in the browser and tests should run automatically

What's in this repo


  • index.html - open to run the tests.

  • src/model/dinnerModel.js - write code here. This is a skeleton for the model of the application, but it does not yet support the functionality needed (number of guests, selected dishes, et.c.). It also contains a first dummy hardcoded "database" to use as test data.

  • src/model/dinnerModel.test.js - tests for the model. You do not need to modify these, but study how they are written. You might be asked to write more tests in the future. In your opinion, do these tests cover the most important areas, or would you have written them differently?

  • src/app.js - this is the overall code of the application. It is responsible for initial setup of the app (when the page loads for the first time). You will find it more relevant when you start working with views in future labs.

  • images/ - folder contains some pictures you can use for your dishes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.3%
  • HTML 12.7%