Table of Contents
After short tap into the history let’s talk about programming.
What will you need
IDE or Notepad it’s time to write some code!
One line comment begins with two slashes “//” and, as its name says, apply only to one line. So, when you break a line, only text on the same line as slashes will be commented.
// This is a one line comment - this text is commented out this text is NOT commented out
Multiline or block comments will probably familiar to you if you already know CSS. They begin with slash and star – “/*” and end with star and slash – “*/”. Just like in CSS. Multiline comment will apply to any text written inside it no matter over how many lines it spans.
/* This is a multiline comment - this text is commented out */
If you liked this article, please subscribe so you don't miss any future post.
If you'd like to support me and this blog, you can become a patron, or you can buy me a coffee 🙂