{"id":21945765,"url":"https://github.com/howtocodewell/how-to-ask-a-question","last_synced_at":"2026-05-18T04:11:42.947Z","repository":{"id":102051680,"uuid":"229441226","full_name":"howToCodeWell/how-to-ask-a-question","owner":"howToCodeWell","description":"A template for asking questions in the How To Code Well discord server","archived":false,"fork":false,"pushed_at":"2023-01-11T21:03:29.000Z","size":1038,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T17:53:06.571Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://howtoaskaquestion.howtocodewell.net","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/howToCodeWell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-21T14:46:07.000Z","updated_at":"2019-12-22T22:17:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"85332d6c-12aa-4392-9b8b-0b359ff4e3ed","html_url":"https://github.com/howToCodeWell/how-to-ask-a-question","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howToCodeWell%2Fhow-to-ask-a-question","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howToCodeWell%2Fhow-to-ask-a-question/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howToCodeWell%2Fhow-to-ask-a-question/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howToCodeWell%2Fhow-to-ask-a-question/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/howToCodeWell","download_url":"https://codeload.github.com/howToCodeWell/how-to-ask-a-question/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244984758,"owners_count":20542724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T04:19:22.140Z","updated_at":"2025-10-25T13:37:42.020Z","avatar_url":"https://github.com/howToCodeWell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\npath: \"/\"\ndate: \"2019-12-21\"\n---\n\n## How To Ask a Coding Question\nBefore asking a coding question on [Discord](https://howtocodewell.net/discord) please read the following:\n1. Please check [Google](https://google.com) or [Stack overflow](https://stackoverflow.com) first\nIf you can't find the solution then please use the coding-help channel in the [Discord server](https://howtocodewell.net/discord).\nWhen writing your question please do the following:\n1. State the problem or desired goal. \n2. For larger code files, limit the code you post to the targeted issue\n3. Add any log messages that you think are relevant\n4. Use 3x backticks before and after your code to format it See below:\n\n## Formatting code when asking for code help\n\nPlease write your code in a code block. \n\n1) Single lines/words/`inline code`.\n\nWrap the code in single back ticks ' \\`  \u003cYOUR_CODE\u003e  \\` ' like this:\n` $this-\u003eisWrappedInSingleBackTicks()`\n\n2) Multiple lines:\n\nWrap multiple lines of code in three back ticks ' \\`\\`\\` \u003cYOUR__LONGER__CODE\u003e \\`\\`\\` ' like this:\n```\nfunction thisIsWrappedInThreeBackTicks() {\n         return [\n                'formatted_code' =\u003e 'is_easier_to_read'\n        ]\n}\n```\n\n3) Highlight your syntax\n\nAdd the programming language to the first back ticks ` ````php ```` ` like this:\n```php\nfunction thisIsWrappedInThreeBackTicks() {\n         return [\n                'formatted_code' =\u003e 'is_easier_to_read'\n        ]\n}\n```\nOr  ` ````css ```` `\n```css\n.howToCodeWell{\n   display:block\n}\n```\nOr  ` ````js ```` `\n```javascript\nconst website = howtocodewell.net\nconst podcast = howtocodewell.fm\n\nconsole.log(website)\nconsole.log(podcast)\n```\n4) To create a new line hold down shift and press enter. Holding the shift key will prevent the message from being sent and it will put your cursor on the next line.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowtocodewell%2Fhow-to-ask-a-question","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhowtocodewell%2Fhow-to-ask-a-question","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowtocodewell%2Fhow-to-ask-a-question/lists"}