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
Elsa Nguyen
Courses Plus Student 194 Pointswhen should I use <>; {}; [] ? what is the differences use of them when coding?
sometime Nick use <> inside a <> in a sentence, sometime he uses a {} inside <>. when should i use the different one?
1 Answer
Stephen O'Connor
22,291 PointsGenerally <> are used for html, {} for css and {} and [] for JavaScript, but it really depends on what programming language you are using, as in most cases all languages will use a combination of brackets in their punctuation.
Tony Nguyen
24,934 PointsTony Nguyen
24,934 PointsUsually the "<" and ">" are used for HTML, and the "{" and "}" are used in CSS.