{"action":"created","comment":{"url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/comments/195523145","pull_request_review_id":128909608,"id":195523145,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTUyMzE0NQ==","diff_hunk":"@@ -1,5 +1,117 @@\n-#Building Responsive Sites\n+# Building Responsive Sites\n \n-<iframe width=\"640\" height=\"480\" src=\"//www.youtube.com/embed/T649edELGoY?rel=0&modestbranding=1\" frameborder=\"0\" allowfullscreen></iframe><p><a href=\"https://www.youtube.com/watch?v=T649edELGoY\">Building Responsive Sites</a></p>\n+## Problem Statement\n+On the modern web, we frequently access the same content on a variety of\n+platforms. Each device will display content differently due to their sizes\n+and proportions, causing text to shrink, or parts of the page to shift around,\n+and can lead to poor user experience. As front end developers, we want our \n+web sites to look good and function well regardless of whether a user is on \n+their laptop, phone or tablet. This has been an ongoing challenge, so what \n+strategies have been developed to address these issues?\n+\n+## Objectives\n+\n+1. Using server-side detection for redirection\n+2. Creating responsive layouts with CSS\n+3. What is desktop-down design\n+3. What is mobile-up design\n+4. Explain graceful degradation\n+5. Explain progressive enhancement\n+6. Why make users update their browsers\n+\n+## Using Server-Side Detection for Redirection\n+\n+It is possible for web servers to check the requesting device's headers info,\n+and send back files specific to the type of device. Going to\n+[twitter.com](twitter.com) on your phone will automatically redirect you to\n+[mobile.twitter.com](mobile.twitter.com) because their servers detected that a\n+phone was sending the request.\n+\n+Unfortunately, while this is a common solution, it requires building _two_\n+separate websites. Every time you want to change something about the content\n+of your site, you have to do it twice, once for both the desktop and mobile\n+versions of your site.","path":"README.md","position":35,"original_position":35,"commit_id":"b02b09f9f38efeef8a9deb807484a33a6b477589","original_commit_id":"b02b09f9f38efeef8a9deb807484a33a6b477589","user":{"login":"sgharms","id":50019,"node_id":"MDQ6VXNlcjUwMDE5","avatar_url":"https://avatars1.githubusercontent.com/u/50019?v=4","gravatar_id":"","url":"https://api.github.com/users/sgharms","html_url":"https://github.com/sgharms","followers_url":"https://api.github.com/users/sgharms/followers","following_url":"https://api.github.com/users/sgharms/following{/other_user}","gists_url":"https://api.github.com/users/sgharms/gists{/gist_id}","starred_url":"https://api.github.com/users/sgharms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgharms/subscriptions","organizations_url":"https://api.github.com/users/sgharms/orgs","repos_url":"https://api.github.com/users/sgharms/repos","events_url":"https://api.github.com/users/sgharms/events{/privacy}","received_events_url":"https://api.github.com/users/sgharms/received_events","type":"User","site_admin":false},"body":"add: expensive, error-prone. Because of this, we don't want to do that.\r\n","created_at":"2018-06-14T18:17:42Z","updated_at":"2018-06-14T18:23:24Z","html_url":"https://github.com/learn-co-curriculum/building-responsive-sites/pull/2#discussion_r195523145","pull_request_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/2","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/comments/195523145"},"html":{"href":"https://github.com/learn-co-curriculum/building-responsive-sites/pull/2#discussion_r195523145"},"pull_request":{"href":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/2","id":194081009,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0MDgxMDA5","html_url":"https://github.com/learn-co-curriculum/building-responsive-sites/pull/2","diff_url":"https://github.com/learn-co-curriculum/building-responsive-sites/pull/2.diff","patch_url":"https://github.com/learn-co-curriculum/building-responsive-sites/pull/2.patch","issue_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/issues/2","number":2,"state":"open","locked":false,"title":"Wip write readme mb","user":{"login":"drakeltheryuujin","id":3029347,"node_id":"MDQ6VXNlcjMwMjkzNDc=","avatar_url":"https://avatars0.githubusercontent.com/u/3029347?v=4","gravatar_id":"","url":"https://api.github.com/users/drakeltheryuujin","html_url":"https://github.com/drakeltheryuujin","followers_url":"https://api.github.com/users/drakeltheryuujin/followers","following_url":"https://api.github.com/users/drakeltheryuujin/following{/other_user}","gists_url":"https://api.github.com/users/drakeltheryuujin/gists{/gist_id}","starred_url":"https://api.github.com/users/drakeltheryuujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drakeltheryuujin/subscriptions","organizations_url":"https://api.github.com/users/drakeltheryuujin/orgs","repos_url":"https://api.github.com/users/drakeltheryuujin/repos","events_url":"https://api.github.com/users/drakeltheryuujin/events{/privacy}","received_events_url":"https://api.github.com/users/drakeltheryuujin/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-11T19:35:26Z","updated_at":"2018-06-14T18:23:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"449882a5f59849be376bee9a3d9de40db092e4cb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/2/commits","review_comments_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/2/comments","review_comment_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/issues/2/comments","statuses_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/statuses/b02b09f9f38efeef8a9deb807484a33a6b477589","head":{"label":"learn-co-curriculum:wip-write-readme-mb","ref":"wip-write-readme-mb","sha":"b02b09f9f38efeef8a9deb807484a33a6b477589","user":{"login":"learn-co-curriculum","id":6208017,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMDgwMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/6208017?v=4","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"repo":{"id":45404248,"node_id":"MDEwOlJlcG9zaXRvcnk0NTQwNDI0OA==","name":"building-responsive-sites","full_name":"learn-co-curriculum/building-responsive-sites","owner":{"login":"learn-co-curriculum","id":6208017,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMDgwMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/6208017?v=4","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learn-co-curriculum/building-responsive-sites","description":null,"fork":false,"url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites","forks_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/forks","keys_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/teams","hooks_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/hooks","issue_events_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/events","assignees_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/tags","blobs_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/languages","stargazers_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/stargazers","contributors_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/contributors","subscribers_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/subscribers","subscription_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/subscription","commits_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/merges","archive_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/downloads","issues_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/releases{/id}","deployments_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/deployments","created_at":"2015-11-02T15:47:27Z","updated_at":"2018-06-11T13:49:15Z","pushed_at":"2018-06-11T19:35:26Z","git_url":"git://github.com/learn-co-curriculum/building-responsive-sites.git","ssh_url":"git@github.com:learn-co-curriculum/building-responsive-sites.git","clone_url":"https://github.com/learn-co-curriculum/building-responsive-sites.git","svn_url":"https://github.com/learn-co-curriculum/building-responsive-sites","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"learn-co-curriculum:master","ref":"master","sha":"c511bc74915dcc0fbeaa153918e59540d3e39ced","user":{"login":"learn-co-curriculum","id":6208017,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMDgwMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/6208017?v=4","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"repo":{"id":45404248,"node_id":"MDEwOlJlcG9zaXRvcnk0NTQwNDI0OA==","name":"building-responsive-sites","full_name":"learn-co-curriculum/building-responsive-sites","owner":{"login":"learn-co-curriculum","id":6208017,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyMDgwMTc=","avatar_url":"https://avatars1.githubusercontent.com/u/6208017?v=4","gravatar_id":"","url":"https://api.github.com/users/learn-co-curriculum","html_url":"https://github.com/learn-co-curriculum","followers_url":"https://api.github.com/users/learn-co-curriculum/followers","following_url":"https://api.github.com/users/learn-co-curriculum/following{/other_user}","gists_url":"https://api.github.com/users/learn-co-curriculum/gists{/gist_id}","starred_url":"https://api.github.com/users/learn-co-curriculum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learn-co-curriculum/subscriptions","organizations_url":"https://api.github.com/users/learn-co-curriculum/orgs","repos_url":"https://api.github.com/users/learn-co-curriculum/repos","events_url":"https://api.github.com/users/learn-co-curriculum/events{/privacy}","received_events_url":"https://api.github.com/users/learn-co-curriculum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learn-co-curriculum/building-responsive-sites","description":null,"fork":false,"url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites","forks_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/forks","keys_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/teams","hooks_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/hooks","issue_events_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/issues/events{/number}","events_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/events","assignees_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/assignees{/user}","branches_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/branches{/branch}","tags_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/tags","blobs_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/git/refs{/sha}","trees_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/statuses/{sha}","languages_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/languages","stargazers_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/stargazers","contributors_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/contributors","subscribers_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/subscribers","subscription_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/subscription","commits_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/commits{/sha}","git_commits_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/git/commits{/sha}","comments_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/comments{/number}","issue_comment_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/issues/comments{/number}","contents_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/contents/{+path}","compare_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/merges","archive_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/downloads","issues_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/issues{/number}","pulls_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls{/number}","milestones_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/milestones{/number}","notifications_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/labels{/name}","releases_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/releases{/id}","deployments_url":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/deployments","created_at":"2015-11-02T15:47:27Z","updated_at":"2018-06-11T13:49:15Z","pushed_at":"2018-06-11T19:35:26Z","git_url":"git://github.com/learn-co-curriculum/building-responsive-sites.git","ssh_url":"git@github.com:learn-co-curriculum/building-responsive-sites.git","clone_url":"https://github.com/learn-co-curriculum/building-responsive-sites.git","svn_url":"https://github.com/learn-co-curriculum/building-responsive-sites","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/2"},"html":{"href":"https://github.com/learn-co-curriculum/building-responsive-sites/pull/2"},"issue":{"href":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/issues/2"},"comments":{"href":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/learn-co-curriculum/building-responsive-sites/statuses/b02b09f9f38efeef8a9deb807484a33a6b477589"}},"author_association":"NONE"}}
{"actor":{"display_login":"sgharms"}}