From a583ac6c2e59ab2bc448b04e8b941f50baac4ee3 Mon Sep 17 00:00:00 2001 From: Yuliia Mustafina <71671138+Mustafina1990@users.noreply.github.com> Date: Sat, 15 Oct 2022 18:32:18 +0200 Subject: [PATCH] add data types for creating shopping cart --- 2-js-basics/1-data-types/assignment.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/2-js-basics/1-data-types/assignment.md b/2-js-basics/1-data-types/assignment.md index 720dd7d2..393237c1 100644 --- a/2-js-basics/1-data-types/assignment.md +++ b/2-js-basics/1-data-types/assignment.md @@ -6,6 +6,14 @@ Imagine you are building a shopping cart. Write some documentation on the data t ## Rubric +### Data types + +1. Array - we will use it to add items to shopping cart. +2. Number - this type help as to count amounce of items in shopping cart. +3. String - help us to write the names of prodacts. +4. Booleans - to know is the shopping cart empty. +5. Null - to initialise variable for counting items in shopping cart. + Criteria | Exemplary | Adequate | Needs Improvement --- | --- | --- | -- | -||The six data types are listed and explored in detail, documenting their use|Four datatypes are explored|Two data types are explored| \ No newline at end of file +||The six data types are listed and explored in detail, documenting their use|Four datatypes are explored|Two data types are explored|