From 65277ddda4e231ed03f09f125cd159c064d8b916 Mon Sep 17 00:00:00 2001 From: Dan Jutan Date: Tue, 5 Jul 2022 16:11:52 -0400 Subject: [PATCH] CoC: Add Actionable Guide to Maintaining our Standards (#3680) Co-authored-by: Sarah Rainsberger Co-authored-by: Ben Holmes Co-authored-by: Chris Swithinbank Co-authored-by: Sylwia Vargas <45401242+sylwiavargas@users.noreply.github.com> Co-authored-by: Peter Singh Co-authored-by: Nate Moore --- COMMUNITY_GUIDE.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 COMMUNITY_GUIDE.md diff --git a/COMMUNITY_GUIDE.md b/COMMUNITY_GUIDE.md new file mode 100644 index 000000000..f606e1c4e --- /dev/null +++ b/COMMUNITY_GUIDE.md @@ -0,0 +1,44 @@ +### Guide to Contributing to the Astro Community + + When interacting, strive to maintain a friendly, empathetic tone. This includes, but is not limited to, interactions on Discord, GitHub, and Twitter. + + "Tone" refers to word, punctuation, and conversational choices that determine how your message _feels_ to others. This includes nonverbal cues, like emojis and gifs. + + Compare these two responses: + + _Question:_ Hey, I'm beginning with Astro. I tried to use `document` in my Astro page, but it says that the object doesn't exist. How can I manipulate the DOM? + + | Answer 1 | Answer 2 | + | -- | -- | + | You can't manipulate the DOM from an Astro file 😂 Astro is a static site builder. | Hey, welcome to the community!
Astro pages and components run on the server. Because of that, you won't have access to everything you're used to when writing JavaScript for the web. You're on the right track, though - you can access `document` from a `