Title: Ensure stylistic consistency across all exercises · Issue #10 · codeunion/javascript-exercises · GitHub
Open Graph Title: Ensure stylistic consistency across all exercises · Issue #10 · codeunion/javascript-exercises
X Title: Ensure stylistic consistency across all exercises · Issue #10 · codeunion/javascript-exercises
Description: All of the copy and code in exercises should conform to a style guide. For the JS code, we should just pick a style guide and use it. For our own copy and "starter code", we should enforce some basic principles. Rules can be discussed in...
Open Graph Description: All of the copy and code in exercises should conform to a style guide. For the JS code, we should just pick a style guide and use it. For our own copy and "starter code", we should enforce some bas...
X Description: All of the copy and code in exercises should conform to a style guide. For the JS code, we should just pick a style guide and use it. For our own copy and "starter code", we should enforc...
Opengraph URL: https://github.com/codeunion/javascript-exercises/issues/10
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ensure stylistic consistency across all exercises","articleBody":"All of the copy and code in exercises should conform to a style guide.\n\nFor the JS code, we should just pick a style guide and use it.\n\nFor our own copy and \"starter code\", we should enforce some basic principles. Rules can be discussed in the comment thread here and then added to this description before being ported to an official document.\n\n---\n## JavaScript Exercises Style Guide\n\nAll exercises should live in their own, executable `.js` files.\n\nThe core mechanic of the exercises is to replace missing parts of a script so that it performs as specified in a use case.\n\nMissing parts of a script must be identified by four (4) consecutive underscore `_` characters, as in this example:\n\n``` javascript\nvar ____ = ____(sentence) {\n return ____._____(____, ____);\n};\n```\n### Environmental constraints\n#### Command line execution with node.js\n\nTest cases must be written at the bottom of the file and wrapped in a `if (!module.parent) { ... }` block.\n#### Single page in browser\n\nMust provide students with a functional skeleton of an HTML file to open in their browser.\n\nTest cases should be written as either:\n- Statements to be executed from the browser's JS console\n- Code wrapped in a `\u003cscript\u003e` tag which produces either a visual result (i.e. changes the DOM) or logs messages to the console\n#### Multiple pages in browser\n\nMust provide students with functional skeletons of all source files.\n\nAll source files must be enclosed in their own named directory.\n","author":{"url":"https://github.com/tannerwelsh","@type":"Person","name":"tannerwelsh"},"datePublished":"2014-12-01T15:02:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/10/javascript-exercises/issues/10"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:730cc369-3388-12ef-726f-1b13fc3b2c66 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AA96:3EDED5:978C56:CA138F:6A60457B |
| html-safe-nonce | 07f1bea6da29aab892e696ba9284c2989227e2b1e52fb3c7b7659f150bd57ee7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTk2OjNFREVENTo5NzhDNTY6Q0ExMzhGOjZBNjA0NTdCIiwidmlzaXRvcl9pZCI6Ijk0ODc2NjgxMTU3MTExMTI5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 25e053ac5d3a092fda37f15567a7007112d66065eeaa3d452e0cad22ebe36403 |
| hovercard-subject-tag | issue:50533001 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/codeunion/javascript-exercises/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/70b2d0bfd43de5546b004df66f0ba49ddae81f17369e4a962c1fd42188e4f713/codeunion/javascript-exercises/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/70b2d0bfd43de5546b004df66f0ba49ddae81f17369e4a962c1fd42188e4f713/codeunion/javascript-exercises/issues/10 |
| og:image:alt | All of the copy and code in exercises should conform to a style guide. For the JS code, we should just pick a style guide and use it. For our own copy and "starter code", we should enforce some bas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tannerwelsh |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60da8c2a42fa2bbf5f7567474990ec467836a84444262a58e200fa91b7f3d2d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/codeunion/javascript-exercises git https://github.com/codeunion/javascript-exercises.git |
| octolytics-dimension-user_id | 7133286 |
| octolytics-dimension-user_login | codeunion |
| octolytics-dimension-repository_id | 25835431 |
| octolytics-dimension-repository_nwo | codeunion/javascript-exercises |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 25835431 |
| octolytics-dimension-repository_network_root_nwo | codeunion/javascript-exercises |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9824515e740d83d5eb82168a089b806ab0fe04a1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width