Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

React

Andrew McKinnon
Andrew McKinnon
2,674 Points

Didn't say how to quickly comment out the section Would be fruitful to have reminders on how to even if its simple

Title already says it

1 Answer

Rohald van Merode
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Rohald van Merode
Treehouse Staff

Hey Andrew McKinnon 👋

I'm not entirely sure which video you're referring to as this was posted under React in general and not under a specific video. I'll bring your feedback up with the teaching team to see if we can mention those kind of shortcuts being used in future videos 😄

That being said you can comment out a line in VS Code with Command ⌘ + / on Mac or Ctrl + / on Windows. For block comments you can use Shift ⇧ + Option ⌥ + A on Mac or Shift + Alt + A on Windows.

Hope this helps! 😄