{"action":"created","comment":{"url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/comments/81776822","pull_request_review_id":2731576,"id":81776822,"diff_hunk":"@@ -10,10 +10,22 @@ So what’s the difference between them? In short, classes allow you to style ma\n <div class=\"wistia_responsive_padding\" style=\"padding:56.25% 0 0 0;position:relative;\"><div class=\"wistia_responsive_wrapper\" style=\"height:100%;left:0;position:absolute;top:0;width:100%;\"><iframe src=\"//fast.wistia.net/embed/iframe/ugwfg1gtqw?seo=false&videoFoam=true\" allowtransparency=\"true\" frameborder=\"0\" scrolling=\"no\" class=\"wistia_embed\" name=\"wistia_embed\" allowfullscreen mozallowfullscreen webkitallowfullscreen oallowfullscreen msallowfullscreen width=\"100%\" height=\"100%\"></iframe></div></div>\n <script src=\"//fast.wistia.net/assets/external/E-v1.js\" async></script>\n \n+#Benefits of Classes\n+\n+In the last video, we learned that class and ID selectors allow you additional flexibility and control over styling different elements on your page. You also learned the difference between classes and IDs– styling a group of elements (classes) or just one (IDs).\n+\n+So what’s the recommended approach when adding these selectors to your elements? The best practice when adding specificity to your CSS is to only do so when necessary, and always think about scalability. How do we follow these practices?\n+\n+## Use Element Selectors\n+Ask yourself if you can apply the style to the element selector instead of creating a class or ID. If so, use the element selector to style your elements.\n+\n+## Don't Use ID's\n+Although ID's are technically allowed, they are almost never used by professional developers– so use classes instead. You'll typically find the styles you're applying to an element can come in handy in another section of your current page, or even another page on your website. Using classes will help with the scalability of your design.\n+\n+\n #### Checkpoint:\n \n-* Why would you choose to use an ID over a Class?\n-* How do add an ID attribute? A class attribute?\n-* Can you use IDs more than once?\n+* Why should you always choose a Class over an ID?","path":"03_chapter/03_lesson.md","position":22,"original_position":22,"commit_id":"74fdc63c13b9f51fbaff6b2de89739267a3ba067","original_commit_id":"74fdc63c13b9f51fbaff6b2de89739267a3ba067","user":{"login":"jshawl","id":3824954,"avatar_url":"https://avatars.githubusercontent.com/u/3824954?v=3","gravatar_id":"","url":"https://api.github.com/users/jshawl","html_url":"https://github.com/jshawl","followers_url":"https://api.github.com/users/jshawl/followers","following_url":"https://api.github.com/users/jshawl/following{/other_user}","gists_url":"https://api.github.com/users/jshawl/gists{/gist_id}","starred_url":"https://api.github.com/users/jshawl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jshawl/subscriptions","organizations_url":"https://api.github.com/users/jshawl/orgs","repos_url":"https://api.github.com/users/jshawl/repos","events_url":"https://api.github.com/users/jshawl/events{/privacy}","received_events_url":"https://api.github.com/users/jshawl/received_events","type":"User","site_admin":false},"body":"When would you instead of why should you","created_at":"2016-10-04T14:59:24Z","updated_at":"2016-10-04T14:59:24Z","html_url":"https://github.com/GA-WDI/fundamentals/pull/166#discussion_r81776822","pull_request_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/166","_links":{"self":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/comments/81776822"},"html":{"href":"https://github.com/GA-WDI/fundamentals/pull/166#discussion_r81776822"},"pull_request":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/166"}}},"pull_request":{"url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/166","id":86247245,"html_url":"https://github.com/GA-WDI/fundamentals/pull/166","diff_url":"https://github.com/GA-WDI/fundamentals/pull/166.diff","patch_url":"https://github.com/GA-WDI/fundamentals/pull/166.patch","issue_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues/166","number":166,"state":"open","locked":false,"title":"EPM-785 | Suggested lesson to discourage use of IDs","user":{"login":"microsarah","id":451523,"avatar_url":"https://avatars.githubusercontent.com/u/451523?v=3","gravatar_id":"","url":"https://api.github.com/users/microsarah","html_url":"https://github.com/microsarah","followers_url":"https://api.github.com/users/microsarah/followers","following_url":"https://api.github.com/users/microsarah/following{/other_user}","gists_url":"https://api.github.com/users/microsarah/gists{/gist_id}","starred_url":"https://api.github.com/users/microsarah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microsarah/subscriptions","organizations_url":"https://api.github.com/users/microsarah/orgs","repos_url":"https://api.github.com/users/microsarah/repos","events_url":"https://api.github.com/users/microsarah/events{/privacy}","received_events_url":"https://api.github.com/users/microsarah/received_events","type":"User","site_admin":false},"body":"- No example included\n- Name of file not final\n- Links to previous/next lesson not updated","created_at":"2016-09-21T21:45:33Z","updated_at":"2016-10-04T14:59:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dae61b3a07e909414800591ba6105cb1fc81063f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/166/commits","review_comments_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/166/comments","review_comment_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues/166/comments","statuses_url":"https://api.github.com/repos/GA-WDI/fundamentals/statuses/74fdc63c13b9f51fbaff6b2de89739267a3ba067","head":{"label":"microsarah:master","ref":"master","sha":"74fdc63c13b9f51fbaff6b2de89739267a3ba067","user":{"login":"microsarah","id":451523,"avatar_url":"https://avatars.githubusercontent.com/u/451523?v=3","gravatar_id":"","url":"https://api.github.com/users/microsarah","html_url":"https://github.com/microsarah","followers_url":"https://api.github.com/users/microsarah/followers","following_url":"https://api.github.com/users/microsarah/following{/other_user}","gists_url":"https://api.github.com/users/microsarah/gists{/gist_id}","starred_url":"https://api.github.com/users/microsarah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microsarah/subscriptions","organizations_url":"https://api.github.com/users/microsarah/orgs","repos_url":"https://api.github.com/users/microsarah/repos","events_url":"https://api.github.com/users/microsarah/events{/privacy}","received_events_url":"https://api.github.com/users/microsarah/received_events","type":"User","site_admin":false},"repo":{"id":68390959,"name":"fundamentals","full_name":"microsarah/fundamentals","owner":{"login":"microsarah","id":451523,"avatar_url":"https://avatars.githubusercontent.com/u/451523?v=3","gravatar_id":"","url":"https://api.github.com/users/microsarah","html_url":"https://github.com/microsarah","followers_url":"https://api.github.com/users/microsarah/followers","following_url":"https://api.github.com/users/microsarah/following{/other_user}","gists_url":"https://api.github.com/users/microsarah/gists{/gist_id}","starred_url":"https://api.github.com/users/microsarah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/microsarah/subscriptions","organizations_url":"https://api.github.com/users/microsarah/orgs","repos_url":"https://api.github.com/users/microsarah/repos","events_url":"https://api.github.com/users/microsarah/events{/privacy}","received_events_url":"https://api.github.com/users/microsarah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/microsarah/fundamentals","description":"WDI prework","fork":true,"url":"https://api.github.com/repos/microsarah/fundamentals","forks_url":"https://api.github.com/repos/microsarah/fundamentals/forks","keys_url":"https://api.github.com/repos/microsarah/fundamentals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/microsarah/fundamentals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/microsarah/fundamentals/teams","hooks_url":"https://api.github.com/repos/microsarah/fundamentals/hooks","issue_events_url":"https://api.github.com/repos/microsarah/fundamentals/issues/events{/number}","events_url":"https://api.github.com/repos/microsarah/fundamentals/events","assignees_url":"https://api.github.com/repos/microsarah/fundamentals/assignees{/user}","branches_url":"https://api.github.com/repos/microsarah/fundamentals/branches{/branch}","tags_url":"https://api.github.com/repos/microsarah/fundamentals/tags","blobs_url":"https://api.github.com/repos/microsarah/fundamentals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/microsarah/fundamentals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/microsarah/fundamentals/git/refs{/sha}","trees_url":"https://api.github.com/repos/microsarah/fundamentals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/microsarah/fundamentals/statuses/{sha}","languages_url":"https://api.github.com/repos/microsarah/fundamentals/languages","stargazers_url":"https://api.github.com/repos/microsarah/fundamentals/stargazers","contributors_url":"https://api.github.com/repos/microsarah/fundamentals/contributors","subscribers_url":"https://api.github.com/repos/microsarah/fundamentals/subscribers","subscription_url":"https://api.github.com/repos/microsarah/fundamentals/subscription","commits_url":"https://api.github.com/repos/microsarah/fundamentals/commits{/sha}","git_commits_url":"https://api.github.com/repos/microsarah/fundamentals/git/commits{/sha}","comments_url":"https://api.github.com/repos/microsarah/fundamentals/comments{/number}","issue_comment_url":"https://api.github.com/repos/microsarah/fundamentals/issues/comments{/number}","contents_url":"https://api.github.com/repos/microsarah/fundamentals/contents/{+path}","compare_url":"https://api.github.com/repos/microsarah/fundamentals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/microsarah/fundamentals/merges","archive_url":"https://api.github.com/repos/microsarah/fundamentals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/microsarah/fundamentals/downloads","issues_url":"https://api.github.com/repos/microsarah/fundamentals/issues{/number}","pulls_url":"https://api.github.com/repos/microsarah/fundamentals/pulls{/number}","milestones_url":"https://api.github.com/repos/microsarah/fundamentals/milestones{/number}","notifications_url":"https://api.github.com/repos/microsarah/fundamentals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/microsarah/fundamentals/labels{/name}","releases_url":"https://api.github.com/repos/microsarah/fundamentals/releases{/id}","deployments_url":"https://api.github.com/repos/microsarah/fundamentals/deployments","created_at":"2016-09-16T15:19:18Z","updated_at":"2016-09-16T15:19:20Z","pushed_at":"2016-09-30T18:50:17Z","git_url":"git://github.com/microsarah/fundamentals.git","ssh_url":"git@github.com:microsarah/fundamentals.git","clone_url":"https://github.com/microsarah/fundamentals.git","svn_url":"https://github.com/microsarah/fundamentals","homepage":"http://fundamentals.generalassemb.ly","size":95402,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"GA-WDI:master","ref":"master","sha":"acdb6e2aa775d95a79e6d713835ff6bbeb1359ab","user":{"login":"GA-WDI","id":11040407,"avatar_url":"https://avatars.githubusercontent.com/u/11040407?v=3","gravatar_id":"","url":"https://api.github.com/users/GA-WDI","html_url":"https://github.com/GA-WDI","followers_url":"https://api.github.com/users/GA-WDI/followers","following_url":"https://api.github.com/users/GA-WDI/following{/other_user}","gists_url":"https://api.github.com/users/GA-WDI/gists{/gist_id}","starred_url":"https://api.github.com/users/GA-WDI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GA-WDI/subscriptions","organizations_url":"https://api.github.com/users/GA-WDI/orgs","repos_url":"https://api.github.com/users/GA-WDI/repos","events_url":"https://api.github.com/users/GA-WDI/events{/privacy}","received_events_url":"https://api.github.com/users/GA-WDI/received_events","type":"Organization","site_admin":false},"repo":{"id":29885766,"name":"fundamentals","full_name":"GA-WDI/fundamentals","owner":{"login":"GA-WDI","id":11040407,"avatar_url":"https://avatars.githubusercontent.com/u/11040407?v=3","gravatar_id":"","url":"https://api.github.com/users/GA-WDI","html_url":"https://github.com/GA-WDI","followers_url":"https://api.github.com/users/GA-WDI/followers","following_url":"https://api.github.com/users/GA-WDI/following{/other_user}","gists_url":"https://api.github.com/users/GA-WDI/gists{/gist_id}","starred_url":"https://api.github.com/users/GA-WDI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GA-WDI/subscriptions","organizations_url":"https://api.github.com/users/GA-WDI/orgs","repos_url":"https://api.github.com/users/GA-WDI/repos","events_url":"https://api.github.com/users/GA-WDI/events{/privacy}","received_events_url":"https://api.github.com/users/GA-WDI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GA-WDI/fundamentals","description":"WDI prework","fork":false,"url":"https://api.github.com/repos/GA-WDI/fundamentals","forks_url":"https://api.github.com/repos/GA-WDI/fundamentals/forks","keys_url":"https://api.github.com/repos/GA-WDI/fundamentals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GA-WDI/fundamentals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GA-WDI/fundamentals/teams","hooks_url":"https://api.github.com/repos/GA-WDI/fundamentals/hooks","issue_events_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues/events{/number}","events_url":"https://api.github.com/repos/GA-WDI/fundamentals/events","assignees_url":"https://api.github.com/repos/GA-WDI/fundamentals/assignees{/user}","branches_url":"https://api.github.com/repos/GA-WDI/fundamentals/branches{/branch}","tags_url":"https://api.github.com/repos/GA-WDI/fundamentals/tags","blobs_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/refs{/sha}","trees_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GA-WDI/fundamentals/statuses/{sha}","languages_url":"https://api.github.com/repos/GA-WDI/fundamentals/languages","stargazers_url":"https://api.github.com/repos/GA-WDI/fundamentals/stargazers","contributors_url":"https://api.github.com/repos/GA-WDI/fundamentals/contributors","subscribers_url":"https://api.github.com/repos/GA-WDI/fundamentals/subscribers","subscription_url":"https://api.github.com/repos/GA-WDI/fundamentals/subscription","commits_url":"https://api.github.com/repos/GA-WDI/fundamentals/commits{/sha}","git_commits_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/commits{/sha}","comments_url":"https://api.github.com/repos/GA-WDI/fundamentals/comments{/number}","issue_comment_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues/comments{/number}","contents_url":"https://api.github.com/repos/GA-WDI/fundamentals/contents/{+path}","compare_url":"https://api.github.com/repos/GA-WDI/fundamentals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GA-WDI/fundamentals/merges","archive_url":"https://api.github.com/repos/GA-WDI/fundamentals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GA-WDI/fundamentals/downloads","issues_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues{/number}","pulls_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls{/number}","milestones_url":"https://api.github.com/repos/GA-WDI/fundamentals/milestones{/number}","notifications_url":"https://api.github.com/repos/GA-WDI/fundamentals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GA-WDI/fundamentals/labels{/name}","releases_url":"https://api.github.com/repos/GA-WDI/fundamentals/releases{/id}","deployments_url":"https://api.github.com/repos/GA-WDI/fundamentals/deployments","created_at":"2015-01-26T22:46:21Z","updated_at":"2016-09-14T01:03:19Z","pushed_at":"2016-09-30T18:50:18Z","git_url":"git://github.com/GA-WDI/fundamentals.git","ssh_url":"git@github.com:GA-WDI/fundamentals.git","clone_url":"https://github.com/GA-WDI/fundamentals.git","svn_url":"https://github.com/GA-WDI/fundamentals","homepage":"http://fundamentals.generalassemb.ly","size":99976,"stargazers_count":11,"watchers_count":11,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":27,"mirror_url":null,"open_issues_count":23,"forks":27,"open_issues":23,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/166"},"html":{"href":"https://github.com/GA-WDI/fundamentals/pull/166"},"issue":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/issues/166"},"comments":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/issues/166/comments"},"review_comments":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/166/comments"},"review_comment":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/166/commits"},"statuses":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/statuses/74fdc63c13b9f51fbaff6b2de89739267a3ba067"}}}}
{"actor":{"display_login":"jshawl"}}