From cc53d0d639f0f38eb3e7d1ae06381c97c54dd3c7 Mon Sep 17 00:00:00 2001 From: SULAIMAN ALHALABI Date: Thu, 13 Aug 2020 12:50:22 +0100 Subject: [PATCH 1/2] added week1 tasks --- week-1/mandatory/2-dev-tools/task.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/week-1/mandatory/2-dev-tools/task.md b/week-1/mandatory/2-dev-tools/task.md index c005108..51b4148 100644 --- a/week-1/mandatory/2-dev-tools/task.md +++ b/week-1/mandatory/2-dev-tools/task.md @@ -7,12 +7,22 @@ In Google Chrome, open dev tools network tab and enter this URL into the browser Answer the following questions: - What's the status code the server sent back? -- What HTTP method did the browser use to make the request? +--------304 Not Modified + +- What HTTP method did the browser use to make request? +-----GET request method + - What is the request path? +---/shows/82/episodes + - What is the first line of the response body? +-----[{id: 4952, url: "http://www.tvmaze.com/episodes/4952/game-of-thrones-1x01-winter-is-coming",…},…] + - What is the value of the response header called "Content-Type" ? -- What is the value of the request header called "User-Agent" +--------application/json; charset=UTF-8 +- What is the value of the request header called "User-Agent" +----Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36 ## Submission Share your answers with the other students in your Buddy Group or on your Slack class channel. From ba1de122791a1272adefac3e353e624ac7d0dac5 Mon Sep 17 00:00:00 2001 From: SULAIMAN ALHALABI Date: Sun, 23 Aug 2020 18:17:46 +0100 Subject: [PATCH 2/2] added week 2 debugging --- week-2/mandatory/1-debugging/task.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/week-2/mandatory/1-debugging/task.md b/week-2/mandatory/1-debugging/task.md index 9e39071..f725141 100644 --- a/week-2/mandatory/1-debugging/task.md +++ b/week-2/mandatory/1-debugging/task.md @@ -14,3 +14,10 @@ We've hosted some Servers on Glitch but they're not quite working properly. Coul - [ ] Name your new server `yourname` + NAME_OF_EXERCISE - [ ] Check that it is working by making a request to `/` - [ ] Fix the code on your version of the server + +## sulotions + +- https://glitch.com/~sulaiman-practice1 +- https://glitch.com/~sulaiman-practice2 +- https://glitch.com/~sulaiman-practice3 +- https://glitch.com/~sulaiman-practice4