From 48653c5e67cd6732482ed50df0ec5b3ba2be8430 Mon Sep 17 00:00:00 2001 From: chimuka malambo Date: Sat, 19 Nov 2022 07:35:39 +0200 Subject: [PATCH 1/9] create landing page for food ordering --- .../chimukaMalambo/Css/css/Foodbag.html | 71 ++++++++++++++ .../Drinks & Cocktails.svg | 21 +++++ .../Illustration_1.svg | 45 +++++++++ .../Vegetables & Drinks.svg | 27 ++++++ .../css task 1 image assets/facebook-f 1.svg | 10 ++ .../css/css task 1 image assets/fast-food.svg | 18 ++++ .../illustration_2.svg | 34 +++++++ .../illustration_3.svg | 50 ++++++++++ .../css/css task 1 image assets/resturant.svg | 15 +++ .../css/css task 1 image assets/twitter 2.svg | 3 + .../css/css task 1 image assets/youtube 1.svg | 3 + submissions/chimukaMalambo/Css/css/style.css | 92 +++++++++++++++++++ 12 files changed, 389 insertions(+) create mode 100644 submissions/chimukaMalambo/Css/css/Foodbag.html create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg create mode 100644 submissions/chimukaMalambo/Css/css/style.css diff --git a/submissions/chimukaMalambo/Css/css/Foodbag.html b/submissions/chimukaMalambo/Css/css/Foodbag.html new file mode 100644 index 000000000..01817ebd4 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/Foodbag.html @@ -0,0 +1,71 @@ + + + + + Foodbag + + + + + +
FoodBag +

Anything food, we have you covered.

+
+ +
+
+ + + + + + + + +
Pick your interest
+
+

+ Fast Food
+ All sorrows are less with bread
+ +

+ Vegetables & Fruits
+ May not want it, but good for you.
+ +

+ Drinks & Cocktails
+ I feel sad for those who don't drink
+ +

+ Restuarant
+ All sorrows are less with bread.
+
+ +
How we serve you
+
+

+ Tell us where you are
+ +

+ Tell us what you want
+ +

+ We'll come running
+
+ + + \ No newline at end of file diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg new file mode 100644 index 000000000..340f66f8e --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg new file mode 100644 index 000000000..cb0481d21 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg new file mode 100644 index 000000000..d4a0737a6 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg new file mode 100644 index 000000000..95aa4c254 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg new file mode 100644 index 000000000..5733140f4 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg new file mode 100644 index 000000000..5b1209f85 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg new file mode 100644 index 000000000..60b6e89f6 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg new file mode 100644 index 000000000..b4990d281 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg new file mode 100644 index 000000000..b2d38cec4 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg @@ -0,0 +1,3 @@ + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg new file mode 100644 index 000000000..abed4b85e --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg @@ -0,0 +1,3 @@ + + + diff --git a/submissions/chimukaMalambo/Css/css/style.css b/submissions/chimukaMalambo/Css/css/style.css new file mode 100644 index 000000000..01ed861b4 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/style.css @@ -0,0 +1,92 @@ +body ul, +footer ul { + list-style-type: none; +} + +nav li{ + float:right; + display: inline; + padding: 8px; +} + + +div { + border: 10px; + margin-top: 25px; + text-align: center; +} + +footer li{ + padding: 8px; + display:inline +} + +footer div{ + margin-top: 50px; + display: inline; +} + +.parent { + display: flex; + align-items: center; + +} + +.box-one, +.box-two, +.box-three, +.box-four { + border: 1px solid lightgrey; + height: 200px; + width: 200px; + box-sizing: border-box; + margin: 10px 50px 10px 50px; +} + +.box-seven, +.box-six, +.box-five { + height: 180px; + width: 180px; + margin: 10px 100px 10px 100px; +} + +* { + box-sizing: border-box; +} + +.box-8 { + margin: 50px 400px 20px 450px; + align-items: center +} + +.box-9 { + margin: 80px 400px 20px 400px; +} + +footer li { + display:contents; + margin: 0px 600px 0px 400px; +} + +.box-12 { + margin: 50px 400px 20px 450px; +} +.box-13 { + margin: 10px; + text-align:left ; + display: inline; +} + +body { + margin-top: 20px; + margin-bottom: 50px; +} + +footer { + margin-top: 100px; +} + +p { +text-align: justify; +} From c14297e1654d2a523554fd28fda95413542bcdc2 Mon Sep 17 00:00:00 2001 From: chimuka malambo Date: Sat, 19 Nov 2022 07:58:06 +0200 Subject: [PATCH 2/9] add log files --- tests/logfile.html | 7 +- tests/logfile.json | 393 +++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 360 insertions(+), 40 deletions(-) diff --git a/tests/logfile.html b/tests/logfile.html index ebb203f4d..0c86232fe 100644 --- a/tests/logfile.html +++ b/tests/logfile.html @@ -1,7 +1,2 @@ -<<<<<<< HEAD -Mochawesome Report
-======= -Mochawesome Report
-https://github.com/Dufuna-CodeCamp/Dufuna-CodeCamp-21/pull/2226/conflict?name=tests%252Flogfile.json&ancestor_oid=142d478b0fcdfd618318d9dd5473e250427a7266&base_oid=fd31538f2589eaaa055ba785c4652e1c7ebcede3&head_oid=a7615f472ec19633027af640127ae7320f523612 ->>>>>>> 1900683007815f1e1b4a85b0119dbaf1362cb731 +Mochawesome Report
\ No newline at end of file diff --git a/tests/logfile.json b/tests/logfile.json index 3432d8734..b496aa0df 100644 --- a/tests/logfile.json +++ b/tests/logfile.json @@ -1,83 +1,300 @@ { "stats": { + "suites": 1, "tests": 0, "passes": 0, "pending": 0, "failures": 0, - "start": "2022-11-02T03:35:19.496Z", - "end": "2022-11-02T03:38:19.529Z", + "start": "2022-11-19T05:36:16.113Z", + "end": "2022-11-19T05:39:16.146Z", "duration": 180033, - "testsRegistered": 1, + "testsRegistered": 18, "passPercent": 0, "pendingPercent": 0, "other": 1, "hasOther": true, - "skipped": 1, + "skipped": 18, "hasSkipped": true }, "results": [ { - "uuid": "07aab9e0-47b4-46db-bfca-81462f969014", + "uuid": "df9156fa-ac70-454d-9b0c-be63d66fe9f5", "title": "", - "fullFile": "C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\add_navigation_links\\navigation_tasks.js", - "file": "\\navigation_tasks.js", + "fullFile": "C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\landing_page\\landing_page.js", + "file": "\\landing_page.js", "beforeHooks": [], "afterHooks": [], "tests": [], "suites": [ { - "uuid": "f1440453-90ed-4f4e-85ae-05a84351d6bf", - "title": "Testing Navigation on HtmlForms", - "fullFile": "C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\add_navigation_links\\navigation_tasks.js", - "file": "\\navigation_tasks.js", + "uuid": "052e3138-ea60-401f-8b9a-23561b687078", + "title": "Testing Scholars Project", + "fullFile": "C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\landing_page\\landing_page.js", + "file": "\\landing_page.js", "beforeHooks": [ { - "title": "\"before all\" hook: setupWebdriver for \"test case: assert that there are 2 links on this page\"", - "fullTitle": "Testing Navigation on HtmlForms \"before all\" hook: setupWebdriver for \"test case: assert that there are 2 links on this page\"", + "title": "\"before all\" hook: setupWebdriver for \"test case: FoodBag Logo is present\"", + "fullTitle": "Testing Scholars Project \"before all\" hook: setupWebdriver for \"test case: FoodBag Logo is present\"", "timedOut": true, - "duration": 180014, + "duration": 180020, "state": "failed", "speed": null, "pass": false, "fail": true, "pending": false, "context": null, - "code": "var file_url = `file://${file_path}`;\ndriver.get(file_url).then(done)", + "code": "var file_url = `file://${file_path}`;\ndriver.get(file_url).then(done);", "err": { - "message": "Error: Timeout of 180000ms exceeded. For async tests and hooks, ensure \"done()\" is called; if returning a Promise, ensure it resolves. (C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\add_navigation_links\\navigation_tasks.js)", - "estack": "Error: Timeout of 180000ms exceeded. For async tests and hooks, ensure \"done()\" is called; if returning a Promise, ensure it resolves. (C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\add_navigation_links\\navigation_tasks.js)\n at listOnTimeout (internal/timers.js:554:17)\n at processTimers (internal/timers.js:497:7)", + "message": "Error: Timeout of 180000ms exceeded. For async tests and hooks, ensure \"done()\" is called; if returning a Promise, ensure it resolves. (C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\landing_page\\landing_page.js)", + "estack": "Error: Timeout of 180000ms exceeded. For async tests and hooks, ensure \"done()\" is called; if returning a Promise, ensure it resolves. (C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\landing_page\\landing_page.js)\n at listOnTimeout (internal/timers.js:554:17)\n at processTimers (internal/timers.js:497:7)", "diff": null }, - "uuid": "d31e715e-ef86-4826-b651-de79fb604efb", - "parentUUID": "f1440453-90ed-4f4e-85ae-05a84351d6bf", + "uuid": "28b9c125-047b-42e9-a16b-3ec8fc235bc7", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", "isHook": true, "skipped": false } ], "afterHooks": [ { - "title": "\"after all\" hook in \"Testing Navigation on HtmlForms\"", - "fullTitle": "Testing Navigation on HtmlForms \"after all\" hook in \"Testing Navigation on HtmlForms\"", + "title": "\"after all\" hook in \"Testing Scholars Project\"", + "fullTitle": "Testing Scholars Project \"after all\" hook in \"Testing Scholars Project\"", "timedOut": false, - "duration": 0, + "duration": 1, "state": null, "speed": null, "pass": false, "fail": false, "pending": false, "context": null, - "code": "driver.quit()", + "code": "driver.quit();", "err": {}, - "uuid": "8c08e70d-5c95-4699-a1af-a01a40b978cb", - "parentUUID": "f1440453-90ed-4f4e-85ae-05a84351d6bf", + "uuid": "377cff70-3bde-4267-9b52-9602e0687fde", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", "isHook": true, "skipped": false } ], "tests": [ { - "title": "test case: assert that there are 2 links on this page", - "fullTitle": "Testing Navigation on HtmlForms test case: assert that there are 2 links on this page", + "title": "test case: FoodBag Logo is present", + "fullTitle": "Testing Scholars Project test case: FoodBag Logo is present", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const name = await driver.findElement(By.css(\"body\"));\nconst text = await name.getText();\nassert.include(text, \"Food\", `Ensure \"food bag\" text is present on header`);", + "err": {}, + "uuid": "219f18f3-cd4e-4609-9fc1-bb8f49546282", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: FoodBag Logo is present", + "fullTitle": "Testing Scholars Project test case: FoodBag Logo is present", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const name = await driver.findElement(By.css(\"body\"));\nconst text = await name.getText();\nassert.include(text, \"Bag\", `Ensure \"food bag\" text is present on header`);", + "err": {}, + "uuid": "971527e4-4a66-4e70-a929-5ac389b39305", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: FoodBag text is present on the page", + "fullTitle": "Testing Scholars Project test case: FoodBag text is present on the page", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const name = await driver.findElement(By.css(\"body\"));\nconst text = await name.getText();\nassert.include(text, \"FoodBag\", `Ensure \"FoodBag\" text is present`);", + "err": {}, + "uuid": "e0326422-f998-4af7-92c8-2e668b2f4b0c", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check Login", + "fullTitle": "Testing Scholars Project test case: check Login", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Login\", \"Ensure the `Login` link is present on the header\");", + "err": {}, + "uuid": "030dc46b-43dc-4b9d-82e6-e0c3c72999dd", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check Cart", + "fullTitle": "Testing Scholars Project test case: check Cart", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Cart\", \"Ensure the `Cart` link is present on the header\");", + "err": {}, + "uuid": "0073a1fd-f5c6-4783-a3d0-686b8fdcad4a", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check Sign up", + "fullTitle": "Testing Scholars Project test case: check Sign up", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Sign up\", \"Ensure the `Sign up` link is present on the header\");", + "err": {}, + "uuid": "35f94905-1d0d-424f-96a4-51b97b6a7b08", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check service-descrption1", + "fullTitle": "Testing Scholars Project test case: check service-descrption1", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Pick an interest\", \"Ensure Quantity label is present\");", + "err": {}, + "uuid": "f7d08493-d92c-4ee2-bf11-c072528590af", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check service-description2", + "fullTitle": "Testing Scholars Project test case: check service-description2", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"How we serve you\", \"Ensure you have the appropriate text for the service\");", + "err": {}, + "uuid": "eb7ff815-f137-4f55-9aef-61600abe4790", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check service title-1", + "fullTitle": "Testing Scholars Project test case: check service title-1", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Tell us where you are\", \"Ensure you have the appropriate text for the service\");", + "err": {}, + "uuid": "55555db9-8470-46c1-ab43-996e8c3d0449", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check service-title-2", + "fullTitle": "Testing Scholars Project test case: check service-title-2", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Tell us what you want\", \"Ensure you have the appropriate text for the service\");", + "err": {}, + "uuid": "cd9c1ae0-6fdb-45ac-91ea-95b4d32f6f26", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check service-title-3", + "fullTitle": "Testing Scholars Project test case: check service-title-3", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"We'll come running\", \"Ensure you have the appropriate text for the service\");", + "err": {}, + "uuid": "9b3c79c3-6b06-4455-9600-9debc11a547e", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check footer", + "fullTitle": "Testing Scholars Project test case: check footer", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css(\"footer\"))\nconst text = await element.getText();\nassert.include(text, \"Contact us\", \"Ensure you have the appropriate text as seen on the mock-up\");", + "err": {}, + "uuid": "26b4dd21-d09b-40b4-8cb9-f535befde2ce", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check terms & conditions on footer", + "fullTitle": "Testing Scholars Project test case: check terms & conditions on footer", "timedOut": false, "duration": 0, "state": null, @@ -86,10 +303,100 @@ "fail": false, "pending": false, "context": null, - "code": "const links = await driver.findElements(By.css('a'));\nconst size = links.length;\nassert.equal(size, 2, `Ensure you have two links on this page`);", + "code": "const element = await driver.findElement(By.css(\"footer\"))\nconst text = await element.getText();\nassert.include(text, \"Terms & Conditions . Privacy Policy\", \"Ensure the texts on the footer is properly formated\");", "err": {}, - "uuid": "61d73964-bd86-48b7-8174-e4565e688e60", - "parentUUID": "f1440453-90ed-4f4e-85ae-05a84351d6bf", + "uuid": "569d1c2b-f51c-4550-9a2d-f24c63309c68", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check copyright on footer", + "fullTitle": "Testing Scholars Project test case: check copyright on footer", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css(\"footer\"))\nconst text = await element.getText();\nassert.include(text, \"Copyright 2021 FoodBag is a registered trademark\", \"Ensure you have the appropriate text as seen on the mock-up\");", + "err": {}, + "uuid": "993a7883-da65-43b8-a308-08fb9ff5a8df", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check input field", + "fullTitle": "Testing Scholars Project test case: check input field", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const input = await driver.findElements(By.css('input'));\nconst size = input.length\nassert.equal(size, 1, `Ensure you have the input field as seen in the mock-up`);", + "err": {}, + "uuid": "70972731-4431-4a3f-a12b-17fb198d2e7d", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check placeholder", + "fullTitle": "Testing Scholars Project test case: check placeholder", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css('input')).getAttribute('placeholder');\nassert.equal(element, \"Enter your delivery address\", `Ensure you have the placeholder as seen in the mock-up`);", + "err": {}, + "uuid": "f340eb93-84f7-49a0-aa1b-8375d579ac44", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: check label of input-field", + "fullTitle": "Testing Scholars Project test case: check label of input-field", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const element = await driver.findElement(By.css('body')).getText();\nassert.include(element, \"Where are you?\", `Ensure you have the input field as the appropriate label as seen in the mock-up`);", + "err": {}, + "uuid": "963c5516-d395-4151-a101-cbb954a3567d", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "isHook": false, + "skipped": true + }, + { + "title": "test case: assert image amount is 10", + "fullTitle": "Testing Scholars Project test case: assert image amount is 10", + "timedOut": false, + "duration": 0, + "state": null, + "speed": null, + "pass": false, + "fail": false, + "pending": false, + "context": null, + "code": "const images = await driver.findElements(By.css('img'));\nconst size = images.length\nassert.equal(size, 10, `Ensure all the images are present on the page`);", + "err": {}, + "uuid": "109862cb-8a19-4434-8efe-cb0c538d3913", + "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", "isHook": false, "skipped": true } @@ -99,7 +406,24 @@ "failures": [], "pending": [], "skipped": [ - "61d73964-bd86-48b7-8174-e4565e688e60" + "219f18f3-cd4e-4609-9fc1-bb8f49546282", + "971527e4-4a66-4e70-a929-5ac389b39305", + "e0326422-f998-4af7-92c8-2e668b2f4b0c", + "030dc46b-43dc-4b9d-82e6-e0c3c72999dd", + "0073a1fd-f5c6-4783-a3d0-686b8fdcad4a", + "35f94905-1d0d-424f-96a4-51b97b6a7b08", + "f7d08493-d92c-4ee2-bf11-c072528590af", + "eb7ff815-f137-4f55-9aef-61600abe4790", + "55555db9-8470-46c1-ab43-996e8c3d0449", + "cd9c1ae0-6fdb-45ac-91ea-95b4d32f6f26", + "9b3c79c3-6b06-4455-9600-9debc11a547e", + "26b4dd21-d09b-40b4-8cb9-f535befde2ce", + "569d1c2b-f51c-4550-9a2d-f24c63309c68", + "993a7883-da65-43b8-a308-08fb9ff5a8df", + "70972731-4431-4a3f-a12b-17fb198d2e7d", + "f340eb93-84f7-49a0-aa1b-8375d579ac44", + "963c5516-d395-4151-a101-cbb954a3567d", + "109862cb-8a19-4434-8efe-cb0c538d3913" ], "duration": 0, "root": false, @@ -119,7 +443,7 @@ ], "meta": { "mocha": { - "version": "10.1.0" + "version": "10.0.0" }, "mochawesome": { "options": { @@ -135,10 +459,11 @@ }, "marge": { "options": { - "reportDir": "C:/Users/1/Desktop/Dufuna-CodeCamp-21/tests/add_navigation_links/../..//tests/", + "reportDir": "C:/Users/1/Desktop/Dufuna-CodeCamp-21/tests/landing_page/../..//tests/", "reportFilename": "logfile", "quiet": "true" }, "version": "6.2.0" + } } -} +} \ No newline at end of file From f1fa2c105b079bb7cd0086655755971114ccc553 Mon Sep 17 00:00:00 2001 From: chimuka malambo Date: Sat, 19 Nov 2022 08:02:17 +0200 Subject: [PATCH 3/9] posting some shorthand corrections suggested --- submissions/chimukaMalambo/Css/css/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/submissions/chimukaMalambo/Css/css/style.css b/submissions/chimukaMalambo/Css/css/style.css index 01ed861b4..d331a9d2e 100644 --- a/submissions/chimukaMalambo/Css/css/style.css +++ b/submissions/chimukaMalambo/Css/css/style.css @@ -40,7 +40,7 @@ footer div{ height: 200px; width: 200px; box-sizing: border-box; - margin: 10px 50px 10px 50px; + margin: 10px 50px; } .box-seven, @@ -48,7 +48,7 @@ footer div{ .box-five { height: 180px; width: 180px; - margin: 10px 100px 10px 100px; + margin: 10px 100px; } * { @@ -61,7 +61,7 @@ footer div{ } .box-9 { - margin: 80px 400px 20px 400px; + margin: 80px 400px 20px; } footer li { From 0ef3ed54b340c7f0bb18af2270399ac8c91280c3 Mon Sep 17 00:00:00 2001 From: chimuka malambo Date: Sat, 19 Nov 2022 19:00:49 +0200 Subject: [PATCH 4/9] deleting to redo the work --- .../chimukaMalambo/Css/css/Foodbag.html | 71 -------------- .../Drinks & Cocktails.svg | 21 ----- .../Illustration_1.svg | 45 --------- .../Vegetables & Drinks.svg | 27 ------ .../css task 1 image assets/facebook-f 1.svg | 10 -- .../css/css task 1 image assets/fast-food.svg | 18 ---- .../illustration_2.svg | 34 ------- .../illustration_3.svg | 50 ---------- .../css/css task 1 image assets/resturant.svg | 15 --- .../css/css task 1 image assets/twitter 2.svg | 3 - .../css/css task 1 image assets/youtube 1.svg | 3 - submissions/chimukaMalambo/Css/css/style.css | 92 ------------------- 12 files changed, 389 deletions(-) delete mode 100644 submissions/chimukaMalambo/Css/css/Foodbag.html delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg delete mode 100644 submissions/chimukaMalambo/Css/css/style.css diff --git a/submissions/chimukaMalambo/Css/css/Foodbag.html b/submissions/chimukaMalambo/Css/css/Foodbag.html deleted file mode 100644 index 01817ebd4..000000000 --- a/submissions/chimukaMalambo/Css/css/Foodbag.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - Foodbag - - - - - -
FoodBag -

Anything food, we have you covered.

-
- -
-
- - - - - - - - -
Pick your interest
-
-

- Fast Food
- All sorrows are less with bread
- -

- Vegetables & Fruits
- May not want it, but good for you.
- -

- Drinks & Cocktails
- I feel sad for those who don't drink
- -

- Restuarant
- All sorrows are less with bread.
-
- -
How we serve you
-
-

- Tell us where you are
- -

- Tell us what you want
- -

- We'll come running
-
- -
-
Contact us
-
- - - -
- -

Terms and conditions. Privacy Policy ©Foodbag 2022. Foodbag is a registered Trademark.

-
- \ No newline at end of file diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg deleted file mode 100644 index 340f66f8e..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg deleted file mode 100644 index cb0481d21..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg deleted file mode 100644 index d4a0737a6..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg deleted file mode 100644 index 95aa4c254..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg deleted file mode 100644 index 5733140f4..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg deleted file mode 100644 index 5b1209f85..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg deleted file mode 100644 index 60b6e89f6..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg deleted file mode 100644 index b4990d281..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg deleted file mode 100644 index b2d38cec4..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg deleted file mode 100644 index abed4b85e..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/submissions/chimukaMalambo/Css/css/style.css b/submissions/chimukaMalambo/Css/css/style.css deleted file mode 100644 index d331a9d2e..000000000 --- a/submissions/chimukaMalambo/Css/css/style.css +++ /dev/null @@ -1,92 +0,0 @@ -body ul, -footer ul { - list-style-type: none; -} - -nav li{ - float:right; - display: inline; - padding: 8px; -} - - -div { - border: 10px; - margin-top: 25px; - text-align: center; -} - -footer li{ - padding: 8px; - display:inline -} - -footer div{ - margin-top: 50px; - display: inline; -} - -.parent { - display: flex; - align-items: center; - -} - -.box-one, -.box-two, -.box-three, -.box-four { - border: 1px solid lightgrey; - height: 200px; - width: 200px; - box-sizing: border-box; - margin: 10px 50px; -} - -.box-seven, -.box-six, -.box-five { - height: 180px; - width: 180px; - margin: 10px 100px; -} - -* { - box-sizing: border-box; -} - -.box-8 { - margin: 50px 400px 20px 450px; - align-items: center -} - -.box-9 { - margin: 80px 400px 20px; -} - -footer li { - display:contents; - margin: 0px 600px 0px 400px; -} - -.box-12 { - margin: 50px 400px 20px 450px; -} -.box-13 { - margin: 10px; - text-align:left ; - display: inline; -} - -body { - margin-top: 20px; - margin-bottom: 50px; -} - -footer { - margin-top: 100px; -} - -p { -text-align: justify; -} From e4e9995696caa4e97aaf4f2f1fafc0df86eb0b67 Mon Sep 17 00:00:00 2001 From: chimuka malambo Date: Sat, 19 Nov 2022 19:01:38 +0200 Subject: [PATCH 5/9] adding landing page for food ordering website --- .../chimukaMalambo/Css/css/Foodbag.html | 71 ++++++++++++++ .../Drinks & Cocktails.svg | 21 +++++ .../Illustration_1.svg | 45 +++++++++ .../Vegetables & Drinks.svg | 27 ++++++ .../css task 1 image assets/facebook-f 1.svg | 10 ++ .../css/css task 1 image assets/fast-food.svg | 18 ++++ .../illustration_2.svg | 34 +++++++ .../illustration_3.svg | 50 ++++++++++ .../css/css task 1 image assets/resturant.svg | 15 +++ .../css/css task 1 image assets/twitter 2.svg | 3 + .../css/css task 1 image assets/youtube 1.svg | 3 + submissions/chimukaMalambo/Css/css/style.css | 92 +++++++++++++++++++ 12 files changed, 389 insertions(+) create mode 100644 submissions/chimukaMalambo/Css/css/Foodbag.html create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg create mode 100644 submissions/chimukaMalambo/Css/css/style.css diff --git a/submissions/chimukaMalambo/Css/css/Foodbag.html b/submissions/chimukaMalambo/Css/css/Foodbag.html new file mode 100644 index 000000000..01817ebd4 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/Foodbag.html @@ -0,0 +1,71 @@ + + + + + Foodbag + + + + + +
FoodBag +

Anything food, we have you covered.

+
+ +
+
+ + + + + + + + +
Pick your interest
+
+

+ Fast Food
+ All sorrows are less with bread
+ +

+ Vegetables & Fruits
+ May not want it, but good for you.
+ +

+ Drinks & Cocktails
+ I feel sad for those who don't drink
+ +

+ Restuarant
+ All sorrows are less with bread.
+
+ +
How we serve you
+
+

+ Tell us where you are
+ +

+ Tell us what you want
+ +

+ We'll come running
+
+ +
+
Contact us
+
+ + + +
+ +

Terms and conditions. Privacy Policy ©Foodbag 2022. Foodbag is a registered Trademark.

+
+ \ No newline at end of file diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg new file mode 100644 index 000000000..340f66f8e --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg new file mode 100644 index 000000000..cb0481d21 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Illustration_1.svg @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg new file mode 100644 index 000000000..d4a0737a6 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg new file mode 100644 index 000000000..95aa4c254 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/facebook-f 1.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg new file mode 100644 index 000000000..5733140f4 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg new file mode 100644 index 000000000..5b1209f85 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_2.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg new file mode 100644 index 000000000..60b6e89f6 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/illustration_3.svg @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg new file mode 100644 index 000000000..b4990d281 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg new file mode 100644 index 000000000..b2d38cec4 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/twitter 2.svg @@ -0,0 +1,3 @@ + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg new file mode 100644 index 000000000..abed4b85e --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/youtube 1.svg @@ -0,0 +1,3 @@ + + + diff --git a/submissions/chimukaMalambo/Css/css/style.css b/submissions/chimukaMalambo/Css/css/style.css new file mode 100644 index 000000000..d331a9d2e --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/style.css @@ -0,0 +1,92 @@ +body ul, +footer ul { + list-style-type: none; +} + +nav li{ + float:right; + display: inline; + padding: 8px; +} + + +div { + border: 10px; + margin-top: 25px; + text-align: center; +} + +footer li{ + padding: 8px; + display:inline +} + +footer div{ + margin-top: 50px; + display: inline; +} + +.parent { + display: flex; + align-items: center; + +} + +.box-one, +.box-two, +.box-three, +.box-four { + border: 1px solid lightgrey; + height: 200px; + width: 200px; + box-sizing: border-box; + margin: 10px 50px; +} + +.box-seven, +.box-six, +.box-five { + height: 180px; + width: 180px; + margin: 10px 100px; +} + +* { + box-sizing: border-box; +} + +.box-8 { + margin: 50px 400px 20px 450px; + align-items: center +} + +.box-9 { + margin: 80px 400px 20px; +} + +footer li { + display:contents; + margin: 0px 600px 0px 400px; +} + +.box-12 { + margin: 50px 400px 20px 450px; +} +.box-13 { + margin: 10px; + text-align:left ; + display: inline; +} + +body { + margin-top: 20px; + margin-bottom: 50px; +} + +footer { + margin-top: 100px; +} + +p { +text-align: justify; +} From 9000472dfb85e6db8411f360a4a4c92368b80d78 Mon Sep 17 00:00:00 2001 From: chimuka malambo Date: Sat, 19 Nov 2022 19:06:07 +0200 Subject: [PATCH 6/9] perform test for landing page --- tests/logfile.html | 2 +- tests/logfile.json | 128 ++++++++++++++++++++++----------------------- 2 files changed, 65 insertions(+), 65 deletions(-) diff --git a/tests/logfile.html b/tests/logfile.html index 0c86232fe..c8ac1d76b 100644 --- a/tests/logfile.html +++ b/tests/logfile.html @@ -1,2 +1,2 @@ -Mochawesome Report
\ No newline at end of file +Mochawesome Report
\ No newline at end of file diff --git a/tests/logfile.json b/tests/logfile.json index b496aa0df..6461c3d91 100644 --- a/tests/logfile.json +++ b/tests/logfile.json @@ -5,9 +5,9 @@ "passes": 0, "pending": 0, "failures": 0, - "start": "2022-11-19T05:36:16.113Z", - "end": "2022-11-19T05:39:16.146Z", - "duration": 180033, + "start": "2022-11-19T17:02:24.970Z", + "end": "2022-11-19T17:05:25.005Z", + "duration": 180035, "testsRegistered": 18, "passPercent": 0, "pendingPercent": 0, @@ -18,7 +18,7 @@ }, "results": [ { - "uuid": "df9156fa-ac70-454d-9b0c-be63d66fe9f5", + "uuid": "9d189aef-4d19-4725-a89d-f69792d4e328", "title": "", "fullFile": "C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\landing_page\\landing_page.js", "file": "\\landing_page.js", @@ -27,7 +27,7 @@ "tests": [], "suites": [ { - "uuid": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "33bbdeae-f070-44aa-926c-96fa71365d83", "title": "Testing Scholars Project", "fullFile": "C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\landing_page\\landing_page.js", "file": "\\landing_page.js", @@ -36,7 +36,7 @@ "title": "\"before all\" hook: setupWebdriver for \"test case: FoodBag Logo is present\"", "fullTitle": "Testing Scholars Project \"before all\" hook: setupWebdriver for \"test case: FoodBag Logo is present\"", "timedOut": true, - "duration": 180020, + "duration": 180008, "state": "failed", "speed": null, "pass": false, @@ -49,8 +49,8 @@ "estack": "Error: Timeout of 180000ms exceeded. For async tests and hooks, ensure \"done()\" is called; if returning a Promise, ensure it resolves. (C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\landing_page\\landing_page.js)\n at listOnTimeout (internal/timers.js:554:17)\n at processTimers (internal/timers.js:497:7)", "diff": null }, - "uuid": "28b9c125-047b-42e9-a16b-3ec8fc235bc7", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "985b53a9-a668-4ae3-96f1-4b9253538669", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": true, "skipped": false } @@ -69,8 +69,8 @@ "context": null, "code": "driver.quit();", "err": {}, - "uuid": "377cff70-3bde-4267-9b52-9602e0687fde", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "d927f61d-6f43-4168-acc9-74659a56258b", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": true, "skipped": false } @@ -89,8 +89,8 @@ "context": null, "code": "const name = await driver.findElement(By.css(\"body\"));\nconst text = await name.getText();\nassert.include(text, \"Food\", `Ensure \"food bag\" text is present on header`);", "err": {}, - "uuid": "219f18f3-cd4e-4609-9fc1-bb8f49546282", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "fb5167d1-2ab3-4f9a-8449-4181052a0bd1", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -107,8 +107,8 @@ "context": null, "code": "const name = await driver.findElement(By.css(\"body\"));\nconst text = await name.getText();\nassert.include(text, \"Bag\", `Ensure \"food bag\" text is present on header`);", "err": {}, - "uuid": "971527e4-4a66-4e70-a929-5ac389b39305", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "2494c587-6c34-4b4d-a2d0-e7c8db89a4d4", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -125,8 +125,8 @@ "context": null, "code": "const name = await driver.findElement(By.css(\"body\"));\nconst text = await name.getText();\nassert.include(text, \"FoodBag\", `Ensure \"FoodBag\" text is present`);", "err": {}, - "uuid": "e0326422-f998-4af7-92c8-2e668b2f4b0c", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "a9746aa5-983b-4195-a3a8-fb24f7f93893", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -143,8 +143,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Login\", \"Ensure the `Login` link is present on the header\");", "err": {}, - "uuid": "030dc46b-43dc-4b9d-82e6-e0c3c72999dd", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "99684f3d-6712-407d-895e-68b86e640fa3", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -161,8 +161,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Cart\", \"Ensure the `Cart` link is present on the header\");", "err": {}, - "uuid": "0073a1fd-f5c6-4783-a3d0-686b8fdcad4a", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "46280fb7-847a-4eef-bbb3-40707a292f77", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -179,8 +179,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Sign up\", \"Ensure the `Sign up` link is present on the header\");", "err": {}, - "uuid": "35f94905-1d0d-424f-96a4-51b97b6a7b08", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "302df3ac-3101-4e24-9d51-50575f33f2d7", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -197,8 +197,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Pick an interest\", \"Ensure Quantity label is present\");", "err": {}, - "uuid": "f7d08493-d92c-4ee2-bf11-c072528590af", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "f31203f4-93af-42f1-affa-d07848a970df", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -215,8 +215,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"How we serve you\", \"Ensure you have the appropriate text for the service\");", "err": {}, - "uuid": "eb7ff815-f137-4f55-9aef-61600abe4790", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "23d66ff2-d63b-4b91-8988-09e9884227a5", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -233,8 +233,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Tell us where you are\", \"Ensure you have the appropriate text for the service\");", "err": {}, - "uuid": "55555db9-8470-46c1-ab43-996e8c3d0449", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "4b4d1181-7e51-41a8-8ab9-e433f10c6f9f", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -251,8 +251,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Tell us what you want\", \"Ensure you have the appropriate text for the service\");", "err": {}, - "uuid": "cd9c1ae0-6fdb-45ac-91ea-95b4d32f6f26", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "5b4d8cbb-5c2f-4bd2-8cc5-87299b57372e", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -269,8 +269,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"We'll come running\", \"Ensure you have the appropriate text for the service\");", "err": {}, - "uuid": "9b3c79c3-6b06-4455-9600-9debc11a547e", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "6b856c77-8aa2-4ba0-9512-bb01e70cc41f", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -287,8 +287,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"footer\"))\nconst text = await element.getText();\nassert.include(text, \"Contact us\", \"Ensure you have the appropriate text as seen on the mock-up\");", "err": {}, - "uuid": "26b4dd21-d09b-40b4-8cb9-f535befde2ce", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "f2c28696-8e4c-48bd-90c1-bfc3cfae8c48", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -305,8 +305,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"footer\"))\nconst text = await element.getText();\nassert.include(text, \"Terms & Conditions . Privacy Policy\", \"Ensure the texts on the footer is properly formated\");", "err": {}, - "uuid": "569d1c2b-f51c-4550-9a2d-f24c63309c68", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "dc96fe51-3867-4f14-8693-e3afa6d35755", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -323,8 +323,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"footer\"))\nconst text = await element.getText();\nassert.include(text, \"Copyright 2021 FoodBag is a registered trademark\", \"Ensure you have the appropriate text as seen on the mock-up\");", "err": {}, - "uuid": "993a7883-da65-43b8-a308-08fb9ff5a8df", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "43424c47-07f9-4c22-986f-d6548546368e", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -341,8 +341,8 @@ "context": null, "code": "const input = await driver.findElements(By.css('input'));\nconst size = input.length\nassert.equal(size, 1, `Ensure you have the input field as seen in the mock-up`);", "err": {}, - "uuid": "70972731-4431-4a3f-a12b-17fb198d2e7d", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "0f3ab99e-af1b-44bb-a8fb-e0a7550c5528", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -359,8 +359,8 @@ "context": null, "code": "const element = await driver.findElement(By.css('input')).getAttribute('placeholder');\nassert.equal(element, \"Enter your delivery address\", `Ensure you have the placeholder as seen in the mock-up`);", "err": {}, - "uuid": "f340eb93-84f7-49a0-aa1b-8375d579ac44", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "48cf4b78-ef4a-42d2-9a74-cb1bce428590", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -377,8 +377,8 @@ "context": null, "code": "const element = await driver.findElement(By.css('body')).getText();\nassert.include(element, \"Where are you?\", `Ensure you have the input field as the appropriate label as seen in the mock-up`);", "err": {}, - "uuid": "963c5516-d395-4151-a101-cbb954a3567d", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "c5bde595-06a7-4639-8e97-538ac3dffe13", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true }, @@ -395,8 +395,8 @@ "context": null, "code": "const images = await driver.findElements(By.css('img'));\nconst size = images.length\nassert.equal(size, 10, `Ensure all the images are present on the page`);", "err": {}, - "uuid": "109862cb-8a19-4434-8efe-cb0c538d3913", - "parentUUID": "052e3138-ea60-401f-8b9a-23561b687078", + "uuid": "04672cdf-dfc3-41bf-8fd9-d9a244d26029", + "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", "isHook": false, "skipped": true } @@ -406,24 +406,24 @@ "failures": [], "pending": [], "skipped": [ - "219f18f3-cd4e-4609-9fc1-bb8f49546282", - "971527e4-4a66-4e70-a929-5ac389b39305", - "e0326422-f998-4af7-92c8-2e668b2f4b0c", - "030dc46b-43dc-4b9d-82e6-e0c3c72999dd", - "0073a1fd-f5c6-4783-a3d0-686b8fdcad4a", - "35f94905-1d0d-424f-96a4-51b97b6a7b08", - "f7d08493-d92c-4ee2-bf11-c072528590af", - "eb7ff815-f137-4f55-9aef-61600abe4790", - "55555db9-8470-46c1-ab43-996e8c3d0449", - "cd9c1ae0-6fdb-45ac-91ea-95b4d32f6f26", - "9b3c79c3-6b06-4455-9600-9debc11a547e", - "26b4dd21-d09b-40b4-8cb9-f535befde2ce", - "569d1c2b-f51c-4550-9a2d-f24c63309c68", - "993a7883-da65-43b8-a308-08fb9ff5a8df", - "70972731-4431-4a3f-a12b-17fb198d2e7d", - "f340eb93-84f7-49a0-aa1b-8375d579ac44", - "963c5516-d395-4151-a101-cbb954a3567d", - "109862cb-8a19-4434-8efe-cb0c538d3913" + "fb5167d1-2ab3-4f9a-8449-4181052a0bd1", + "2494c587-6c34-4b4d-a2d0-e7c8db89a4d4", + "a9746aa5-983b-4195-a3a8-fb24f7f93893", + "99684f3d-6712-407d-895e-68b86e640fa3", + "46280fb7-847a-4eef-bbb3-40707a292f77", + "302df3ac-3101-4e24-9d51-50575f33f2d7", + "f31203f4-93af-42f1-affa-d07848a970df", + "23d66ff2-d63b-4b91-8988-09e9884227a5", + "4b4d1181-7e51-41a8-8ab9-e433f10c6f9f", + "5b4d8cbb-5c2f-4bd2-8cc5-87299b57372e", + "6b856c77-8aa2-4ba0-9512-bb01e70cc41f", + "f2c28696-8e4c-48bd-90c1-bfc3cfae8c48", + "dc96fe51-3867-4f14-8693-e3afa6d35755", + "43424c47-07f9-4c22-986f-d6548546368e", + "0f3ab99e-af1b-44bb-a8fb-e0a7550c5528", + "48cf4b78-ef4a-42d2-9a74-cb1bce428590", + "c5bde595-06a7-4639-8e97-538ac3dffe13", + "04672cdf-dfc3-41bf-8fd9-d9a244d26029" ], "duration": 0, "root": false, From e60499da1df63767d9bea8a065f60a6313c95b05 Mon Sep 17 00:00:00 2001 From: chimuka malambo Date: Thu, 24 Nov 2022 04:09:42 +0200 Subject: [PATCH 7/9] adding disabled pics and updating work --- .../chimukaMalambo/Css/css/Foodbag.html | 34 +++++++++---------- .../Drinks & Cocktails.svg | 21 ------------ .../Drinks & Cocktails_disabled.svg | 22 ++++++++++++ .../Vegetables & Drinks.svg | 27 --------------- .../Vegetables & Drinks_disabled.svg | 27 +++++++++++++++ .../css/css task 1 image assets/fast-food.svg | 18 ---------- .../fast-food_disabled.svg | 18 ++++++++++ .../css/css task 1 image assets/resturant.svg | 15 -------- .../resturant_disabled.svg | 15 ++++++++ submissions/chimukaMalambo/Css/css/style.css | 17 +++++++--- 10 files changed, 112 insertions(+), 102 deletions(-) delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails_disabled.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks_disabled.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food_disabled.svg delete mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg create mode 100644 submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant_disabled.svg diff --git a/submissions/chimukaMalambo/Css/css/Foodbag.html b/submissions/chimukaMalambo/Css/css/Foodbag.html index 01817ebd4..e19ea0187 100644 --- a/submissions/chimukaMalambo/Css/css/Foodbag.html +++ b/submissions/chimukaMalambo/Css/css/Foodbag.html @@ -13,12 +13,12 @@
  • Cart
  • -
    FoodBag +
    FoodBag

    Anything food, we have you covered.


    -
    +
    @@ -27,27 +27,27 @@ -
    Pick your interest
    +
    Pick your interest
    -

    - Fast Food
    - All sorrows are less with bread
    +

    + Fast Food
    + All sorrows are less with bread.
    -

    - Vegetables & Fruits
    - May not want it, but good for you.
    +

    + Vegetables & Fruits
    + May not want it, but good for you.
    -

    - Drinks & Cocktails
    - I feel sad for those who don't drink
    +

    + Drinks & Cocktails
    + I feel sad for those who don't drink.
    -

    - Restuarant
    - All sorrows are less with bread.
    +

    + Restuarant
    + All sorrows are less with bread.
    -
    How we serve you
    -
    +
    How we serve you
    +

    Tell us where you are
    diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg deleted file mode 100644 index 340f66f8e..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails_disabled.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails_disabled.svg new file mode 100644 index 000000000..c9bff525d --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Drinks & Cocktails_disabled.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg deleted file mode 100644 index d4a0737a6..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks.svg +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks_disabled.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks_disabled.svg new file mode 100644 index 000000000..c53e68021 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/Vegetables & Drinks_disabled.svg @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg deleted file mode 100644 index 5733140f4..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food_disabled.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food_disabled.svg new file mode 100644 index 000000000..0605a5cb0 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/fast-food_disabled.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg deleted file mode 100644 index b4990d281..000000000 --- a/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant.svg +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant_disabled.svg b/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant_disabled.svg new file mode 100644 index 000000000..16e89dc25 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/css task 1 image assets/resturant_disabled.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/submissions/chimukaMalambo/Css/css/style.css b/submissions/chimukaMalambo/Css/css/style.css index d331a9d2e..c7949963b 100644 --- a/submissions/chimukaMalambo/Css/css/style.css +++ b/submissions/chimukaMalambo/Css/css/style.css @@ -27,11 +27,15 @@ footer div{ } .parent { + display: flex; + align-items: center; +} + +.parent-2 { display: flex; align-items: center; } - .box-one, .box-two, .box-three, @@ -40,7 +44,7 @@ footer div{ height: 200px; width: 200px; box-sizing: border-box; - margin: 10px 50px; + margin: 10px 50px 10px 50px; } .box-seven, @@ -48,7 +52,7 @@ footer div{ .box-five { height: 180px; width: 180px; - margin: 10px 100px; + margin: 10px 100px 10px 100px; } * { @@ -61,7 +65,7 @@ footer div{ } .box-9 { - margin: 80px 400px 20px; + margin: 80px 400px 20px 400px; } footer li { @@ -81,6 +85,7 @@ footer li { body { margin-top: 20px; margin-bottom: 50px; + margin-left: 50px; } footer { @@ -90,3 +95,7 @@ footer { p { text-align: justify; } + +.box-10 { + text-align: left;; +} From aa5a2772ef35d3511daf64c87fd31180cc21f8a4 Mon Sep 17 00:00:00 2001 From: chimuka malambo Date: Thu, 24 Nov 2022 04:25:16 +0200 Subject: [PATCH 8/9] corrections to style doc --- submissions/chimukaMalambo/Css/css/style.css | 8 +- tests/logfile.html | 2 +- tests/logfile.json | 130 +++++++++---------- 3 files changed, 70 insertions(+), 70 deletions(-) diff --git a/submissions/chimukaMalambo/Css/css/style.css b/submissions/chimukaMalambo/Css/css/style.css index c7949963b..da0cfd0c1 100644 --- a/submissions/chimukaMalambo/Css/css/style.css +++ b/submissions/chimukaMalambo/Css/css/style.css @@ -44,7 +44,7 @@ footer div{ height: 200px; width: 200px; box-sizing: border-box; - margin: 10px 50px 10px 50px; + margin: 10px 50px; } .box-seven, @@ -52,7 +52,7 @@ footer div{ .box-five { height: 180px; width: 180px; - margin: 10px 100px 10px 100px; + margin: 10px 100px; } * { @@ -65,7 +65,7 @@ footer div{ } .box-9 { - margin: 80px 400px 20px 400px; + margin: 80px 400px 20px; } footer li { @@ -97,5 +97,5 @@ text-align: justify; } .box-10 { - text-align: left;; + text-align: left; } diff --git a/tests/logfile.html b/tests/logfile.html index c8ac1d76b..54ec779b5 100644 --- a/tests/logfile.html +++ b/tests/logfile.html @@ -1,2 +1,2 @@ -Mochawesome Report
    \ No newline at end of file +Mochawesome Report
    \ No newline at end of file diff --git a/tests/logfile.json b/tests/logfile.json index 6461c3d91..8eff0c879 100644 --- a/tests/logfile.json +++ b/tests/logfile.json @@ -5,9 +5,9 @@ "passes": 0, "pending": 0, "failures": 0, - "start": "2022-11-19T17:02:24.970Z", - "end": "2022-11-19T17:05:25.005Z", - "duration": 180035, + "start": "2022-11-24T02:14:22.412Z", + "end": "2022-11-24T02:17:22.453Z", + "duration": 180041, "testsRegistered": 18, "passPercent": 0, "pendingPercent": 0, @@ -18,7 +18,7 @@ }, "results": [ { - "uuid": "9d189aef-4d19-4725-a89d-f69792d4e328", + "uuid": "6d9fb993-7535-4b48-a010-c354c4b8c62f", "title": "", "fullFile": "C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\landing_page\\landing_page.js", "file": "\\landing_page.js", @@ -27,7 +27,7 @@ "tests": [], "suites": [ { - "uuid": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "title": "Testing Scholars Project", "fullFile": "C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\landing_page\\landing_page.js", "file": "\\landing_page.js", @@ -36,7 +36,7 @@ "title": "\"before all\" hook: setupWebdriver for \"test case: FoodBag Logo is present\"", "fullTitle": "Testing Scholars Project \"before all\" hook: setupWebdriver for \"test case: FoodBag Logo is present\"", "timedOut": true, - "duration": 180008, + "duration": 180019, "state": "failed", "speed": null, "pass": false, @@ -49,8 +49,8 @@ "estack": "Error: Timeout of 180000ms exceeded. For async tests and hooks, ensure \"done()\" is called; if returning a Promise, ensure it resolves. (C:\\Users\\1\\Desktop\\Dufuna-CodeCamp-21\\tests\\landing_page\\landing_page.js)\n at listOnTimeout (internal/timers.js:554:17)\n at processTimers (internal/timers.js:497:7)", "diff": null }, - "uuid": "985b53a9-a668-4ae3-96f1-4b9253538669", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "3a9962c0-b758-45dd-bb19-78aaaed280ee", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": true, "skipped": false } @@ -60,7 +60,7 @@ "title": "\"after all\" hook in \"Testing Scholars Project\"", "fullTitle": "Testing Scholars Project \"after all\" hook in \"Testing Scholars Project\"", "timedOut": false, - "duration": 1, + "duration": 2, "state": null, "speed": null, "pass": false, @@ -69,8 +69,8 @@ "context": null, "code": "driver.quit();", "err": {}, - "uuid": "d927f61d-6f43-4168-acc9-74659a56258b", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "7dd15e77-160e-42fc-9ea5-0a55eb66646e", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": true, "skipped": false } @@ -89,8 +89,8 @@ "context": null, "code": "const name = await driver.findElement(By.css(\"body\"));\nconst text = await name.getText();\nassert.include(text, \"Food\", `Ensure \"food bag\" text is present on header`);", "err": {}, - "uuid": "fb5167d1-2ab3-4f9a-8449-4181052a0bd1", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "e89b0250-29c8-4ad2-a52b-abd904dd547c", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -107,8 +107,8 @@ "context": null, "code": "const name = await driver.findElement(By.css(\"body\"));\nconst text = await name.getText();\nassert.include(text, \"Bag\", `Ensure \"food bag\" text is present on header`);", "err": {}, - "uuid": "2494c587-6c34-4b4d-a2d0-e7c8db89a4d4", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "ff4c716c-0296-43cd-9cfc-d533d4ab4c7b", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -125,8 +125,8 @@ "context": null, "code": "const name = await driver.findElement(By.css(\"body\"));\nconst text = await name.getText();\nassert.include(text, \"FoodBag\", `Ensure \"FoodBag\" text is present`);", "err": {}, - "uuid": "a9746aa5-983b-4195-a3a8-fb24f7f93893", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "23589f4b-d29d-449b-9d56-16923c4e3a1a", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -143,8 +143,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Login\", \"Ensure the `Login` link is present on the header\");", "err": {}, - "uuid": "99684f3d-6712-407d-895e-68b86e640fa3", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "b1105980-4b0f-4ed0-b726-96dd06e3cfe8", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -161,8 +161,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Cart\", \"Ensure the `Cart` link is present on the header\");", "err": {}, - "uuid": "46280fb7-847a-4eef-bbb3-40707a292f77", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "47af6bf7-dbd2-41f3-a8bb-0cc231acd745", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -179,8 +179,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Sign up\", \"Ensure the `Sign up` link is present on the header\");", "err": {}, - "uuid": "302df3ac-3101-4e24-9d51-50575f33f2d7", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "24e4dfc3-df17-4c00-9429-4ba2935075ab", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -197,8 +197,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Pick an interest\", \"Ensure Quantity label is present\");", "err": {}, - "uuid": "f31203f4-93af-42f1-affa-d07848a970df", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "8d8a9a9f-1f91-4389-a677-27420b0c2861", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -215,8 +215,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"How we serve you\", \"Ensure you have the appropriate text for the service\");", "err": {}, - "uuid": "23d66ff2-d63b-4b91-8988-09e9884227a5", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "c9078fb9-29f9-438f-8c69-9273f03c1255", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -233,8 +233,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Tell us where you are\", \"Ensure you have the appropriate text for the service\");", "err": {}, - "uuid": "4b4d1181-7e51-41a8-8ab9-e433f10c6f9f", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "427915e2-8144-4244-bee1-b0813766fb07", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -251,8 +251,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"Tell us what you want\", \"Ensure you have the appropriate text for the service\");", "err": {}, - "uuid": "5b4d8cbb-5c2f-4bd2-8cc5-87299b57372e", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "da3ad9d4-9da2-4e6a-ab60-fa92c25b822b", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -269,8 +269,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"body\"))\nconst text = await element.getText();\nassert.include(text, \"We'll come running\", \"Ensure you have the appropriate text for the service\");", "err": {}, - "uuid": "6b856c77-8aa2-4ba0-9512-bb01e70cc41f", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "dcf27a6c-a034-4078-8189-8645f9cbc031", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -287,8 +287,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"footer\"))\nconst text = await element.getText();\nassert.include(text, \"Contact us\", \"Ensure you have the appropriate text as seen on the mock-up\");", "err": {}, - "uuid": "f2c28696-8e4c-48bd-90c1-bfc3cfae8c48", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "188bb7cc-7394-4338-b698-c645364b0cdc", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -305,8 +305,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"footer\"))\nconst text = await element.getText();\nassert.include(text, \"Terms & Conditions . Privacy Policy\", \"Ensure the texts on the footer is properly formated\");", "err": {}, - "uuid": "dc96fe51-3867-4f14-8693-e3afa6d35755", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "e0680532-1506-445f-989a-732494149146", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -323,8 +323,8 @@ "context": null, "code": "const element = await driver.findElement(By.css(\"footer\"))\nconst text = await element.getText();\nassert.include(text, \"Copyright 2021 FoodBag is a registered trademark\", \"Ensure you have the appropriate text as seen on the mock-up\");", "err": {}, - "uuid": "43424c47-07f9-4c22-986f-d6548546368e", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "3df872ba-9382-4586-abaf-bb5cc6751059", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -341,8 +341,8 @@ "context": null, "code": "const input = await driver.findElements(By.css('input'));\nconst size = input.length\nassert.equal(size, 1, `Ensure you have the input field as seen in the mock-up`);", "err": {}, - "uuid": "0f3ab99e-af1b-44bb-a8fb-e0a7550c5528", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "4cb2644d-8a5c-4531-bae9-3e5e23de6169", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -359,8 +359,8 @@ "context": null, "code": "const element = await driver.findElement(By.css('input')).getAttribute('placeholder');\nassert.equal(element, \"Enter your delivery address\", `Ensure you have the placeholder as seen in the mock-up`);", "err": {}, - "uuid": "48cf4b78-ef4a-42d2-9a74-cb1bce428590", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "5601b12c-7be3-4d6f-ab4c-567f180c27ce", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -377,8 +377,8 @@ "context": null, "code": "const element = await driver.findElement(By.css('body')).getText();\nassert.include(element, \"Where are you?\", `Ensure you have the input field as the appropriate label as seen in the mock-up`);", "err": {}, - "uuid": "c5bde595-06a7-4639-8e97-538ac3dffe13", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "a155aaac-2e40-4670-bcfe-76935e18afe8", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true }, @@ -395,8 +395,8 @@ "context": null, "code": "const images = await driver.findElements(By.css('img'));\nconst size = images.length\nassert.equal(size, 10, `Ensure all the images are present on the page`);", "err": {}, - "uuid": "04672cdf-dfc3-41bf-8fd9-d9a244d26029", - "parentUUID": "33bbdeae-f070-44aa-926c-96fa71365d83", + "uuid": "4ceda40e-75ca-4992-a21a-7eaff9739950", + "parentUUID": "d05eaa2d-0fce-4fb9-87c8-623b6fe7d5e8", "isHook": false, "skipped": true } @@ -406,24 +406,24 @@ "failures": [], "pending": [], "skipped": [ - "fb5167d1-2ab3-4f9a-8449-4181052a0bd1", - "2494c587-6c34-4b4d-a2d0-e7c8db89a4d4", - "a9746aa5-983b-4195-a3a8-fb24f7f93893", - "99684f3d-6712-407d-895e-68b86e640fa3", - "46280fb7-847a-4eef-bbb3-40707a292f77", - "302df3ac-3101-4e24-9d51-50575f33f2d7", - "f31203f4-93af-42f1-affa-d07848a970df", - "23d66ff2-d63b-4b91-8988-09e9884227a5", - "4b4d1181-7e51-41a8-8ab9-e433f10c6f9f", - "5b4d8cbb-5c2f-4bd2-8cc5-87299b57372e", - "6b856c77-8aa2-4ba0-9512-bb01e70cc41f", - "f2c28696-8e4c-48bd-90c1-bfc3cfae8c48", - "dc96fe51-3867-4f14-8693-e3afa6d35755", - "43424c47-07f9-4c22-986f-d6548546368e", - "0f3ab99e-af1b-44bb-a8fb-e0a7550c5528", - "48cf4b78-ef4a-42d2-9a74-cb1bce428590", - "c5bde595-06a7-4639-8e97-538ac3dffe13", - "04672cdf-dfc3-41bf-8fd9-d9a244d26029" + "e89b0250-29c8-4ad2-a52b-abd904dd547c", + "ff4c716c-0296-43cd-9cfc-d533d4ab4c7b", + "23589f4b-d29d-449b-9d56-16923c4e3a1a", + "b1105980-4b0f-4ed0-b726-96dd06e3cfe8", + "47af6bf7-dbd2-41f3-a8bb-0cc231acd745", + "24e4dfc3-df17-4c00-9429-4ba2935075ab", + "8d8a9a9f-1f91-4389-a677-27420b0c2861", + "c9078fb9-29f9-438f-8c69-9273f03c1255", + "427915e2-8144-4244-bee1-b0813766fb07", + "da3ad9d4-9da2-4e6a-ab60-fa92c25b822b", + "dcf27a6c-a034-4078-8189-8645f9cbc031", + "188bb7cc-7394-4338-b698-c645364b0cdc", + "e0680532-1506-445f-989a-732494149146", + "3df872ba-9382-4586-abaf-bb5cc6751059", + "4cb2644d-8a5c-4531-bae9-3e5e23de6169", + "5601b12c-7be3-4d6f-ab4c-567f180c27ce", + "a155aaac-2e40-4670-bcfe-76935e18afe8", + "4ceda40e-75ca-4992-a21a-7eaff9739950" ], "duration": 0, "root": false, From bcf3262590e0c0bcdf0fa4242e9215eee35fa47c Mon Sep 17 00:00:00 2001 From: chimuka malambo Date: Mon, 28 Nov 2022 05:56:41 +0200 Subject: [PATCH 9/9] adding changes on styling for landing page --- .../chimukaMalambo/Css/css/Foodbag.html | 144 +++++++++------- submissions/chimukaMalambo/Css/css/style.css | 101 ------------ submissions/chimukaMalambo/Css/css/style1.css | 154 ++++++++++++++++++ 3 files changed, 243 insertions(+), 156 deletions(-) delete mode 100644 submissions/chimukaMalambo/Css/css/style.css create mode 100644 submissions/chimukaMalambo/Css/css/style1.css diff --git a/submissions/chimukaMalambo/Css/css/Foodbag.html b/submissions/chimukaMalambo/Css/css/Foodbag.html index e19ea0187..33167f586 100644 --- a/submissions/chimukaMalambo/Css/css/Foodbag.html +++ b/submissions/chimukaMalambo/Css/css/Foodbag.html @@ -1,71 +1,105 @@ - - - Foodbag - - - + + + + + FoodBag + + + +
    +

    FoodBag

    +
    +
    -
    FoodBag +
    +

    FoodBag

    Anything food, we have you covered.

    -
    -
    - - - - - - - +
    +

    + + + + + + + +
    +
    -
    Pick your interest
    -

    - Fast Food
    - All sorrows are less with bread.
    - -

    - Vegetables & Fruits
    - May not want it, but good for you.
    - -

    - Drinks & Cocktails
    - I feel sad for those who don't drink.
    - -

    - Restuarant
    - All sorrows are less with bread.
    +

    Pick an interest


    +
    +
    +
    +

    Fast Food


    + All sorrows are less with bread. +
    +
    +
    +

    Vegetables & Fruits


    + May not want it, but good for you. +
    +
    +
    +

    Drinks & Cocktails


    + I feel sad for those who don't drink. +
    +
    +
    +

    Restuarant


    + All sorrows are less with bread. +
    +
    -
    How we serve you
    -

    - Tell us where you are
    - -

    - Tell us what you want
    - -

    - We'll come running
    +

    How we serve you

    +
    +
    +
    +

    Tell us where you are

    +

    Select the location you want us to deliver.

    +
    +
    +
    +

    Tell us what you want

    +

    Browse the type of food that interest you.

    +
    +
    +
    +

    We'll come running

    +

    Your order will be delivered to you in no time.

    +
    +
    - -
    -
    Contact us
    -
    - - - -
    + -

    Terms and conditions. Privacy Policy ©Foodbag 2022. Foodbag is a registered Trademark.

    -
    + + + + + \ No newline at end of file diff --git a/submissions/chimukaMalambo/Css/css/style.css b/submissions/chimukaMalambo/Css/css/style.css deleted file mode 100644 index da0cfd0c1..000000000 --- a/submissions/chimukaMalambo/Css/css/style.css +++ /dev/null @@ -1,101 +0,0 @@ -body ul, -footer ul { - list-style-type: none; -} - -nav li{ - float:right; - display: inline; - padding: 8px; -} - - -div { - border: 10px; - margin-top: 25px; - text-align: center; -} - -footer li{ - padding: 8px; - display:inline -} - -footer div{ - margin-top: 50px; - display: inline; -} - -.parent { - display: flex; - align-items: center; -} - -.parent-2 { - display: flex; - align-items: center; - -} -.box-one, -.box-two, -.box-three, -.box-four { - border: 1px solid lightgrey; - height: 200px; - width: 200px; - box-sizing: border-box; - margin: 10px 50px; -} - -.box-seven, -.box-six, -.box-five { - height: 180px; - width: 180px; - margin: 10px 100px; -} - -* { - box-sizing: border-box; -} - -.box-8 { - margin: 50px 400px 20px 450px; - align-items: center -} - -.box-9 { - margin: 80px 400px 20px; -} - -footer li { - display:contents; - margin: 0px 600px 0px 400px; -} - -.box-12 { - margin: 50px 400px 20px 450px; -} -.box-13 { - margin: 10px; - text-align:left ; - display: inline; -} - -body { - margin-top: 20px; - margin-bottom: 50px; - margin-left: 50px; -} - -footer { - margin-top: 100px; -} - -p { -text-align: justify; -} - -.box-10 { - text-align: left; -} diff --git a/submissions/chimukaMalambo/Css/css/style1.css b/submissions/chimukaMalambo/Css/css/style1.css new file mode 100644 index 000000000..fcc3b9810 --- /dev/null +++ b/submissions/chimukaMalambo/Css/css/style1.css @@ -0,0 +1,154 @@ +*{ + padding: 0; + margin: 0; + box-sizing: border-box; +} + +a{ + text-decoration:none; +} + +li{ + list-style: none; +} + +body{ + padding:20px 50px; +} + +header{ + position:relative; + display: flex; + align-items: center; +} + +header h3 a{ + color:black; +} + +header h3 a span{ + color:brown; +} + +nav{ + position:absolute; + right:0; + display:flex; + align-items: center; +} + +nav li{ + padding-right: 40px; + display: flex; + +} + +nav li span{ + height: 7px; + width: 7px; + border-radius: 50%; + background-color: transparent; +} + +nav button{ + color:brown; + background-color: white; + padding: 10px 20px; + border-radius:8px; + outline: none; + border:2px solid brown; + font-weight: 400; + cursor: pointer; +} + +.title{ + width:100%; + text-align:center; + margin: 40px 0; +} + +section.address-container { + width:100%; + margin-bottom:30px; + display: flex; + align-items: left; +} + +section .address-input{ + width: 100%; + padding:10px; + outline:none; + border: 1px solid grey +} + +.parent .parent-1{ + display:flex; + justify-content: space-between; + flex-wrap: wrap; + +} + +.parent .parent-1 .box-1 .box-2 .box-3 .box-4{ + flex-basis: 23%; + margin-bottom: 10px; +} + +.box-1, +.box-2, +.box-3, +.box-4 { + padding:20px; + border: 2px solid grey; + color: grey; + box-sizing: border-box; +} + +.parent, +.box-1, +.box-2, +.box-3, +.box-4{ + filter: grayscale(100%); +} + +.parent-2{ + margin-bottom:150px; +} + +.parent-2 h3{ + text-align: center; + margin-top:150px; + margin-bottom: 40px; +} + +.parent-2 .parent-3{ + display:flex; + justify-content: space-between; + flex-wrap: wrap; + width: 100%; +} + +.parent-2 .parent-3 div{ + text-align: center; + margin-bottom: 10px; +} + +.parent-2 .parent-3 div p{ + color: grey; +} + +footer .contact{ + display: flex; + flex-direction: column; + align-items: center; + margin-bottom:10px; +} + +footer .contact .box-8{ + margin: 0 15px; +} + +footer .box-9{ + display: flex; + justify-content: space-between; +}