Check out example codes for "is brackets a good code editor". It will help you in understanding the concepts better.

Code Example 1

yes. I actually do prefer it to VScode, Sublime Text, Komdo Edit, and others. This is a great choice.

Learn ReactJs, React Native from akashmittal.com