Comments is essential most especially if you are debugging your code. You can just commented them out to make them not part of the program to run.
HTML
<!-- any comments you want to put here -->
This acts as a multi line comments but in html only.
JAVASCRIPT
// any comments following this two forward slash but just within this line
<* This is a multi line comment. It ends before the symbols that follows this *>
Note:
1. In the first page there is a line there in html that says
document.write()
This works just like a print in java. So, System.out.print() in java is you are printing something in the console. But this document.write() means you are writing something in the document. And when you say a document, this whole white space that you have been reading below the domain name.
2. I did not include css in here since css is just for beautifying your html page while javascript is for making your page more functional and reactive to the user. On the other hand, html is just for designing your web page on how it looks or on where do you want those buttons, paragraphs, headers and so on to be place.
3. Since html is just a boiler plate code in here, you can assume that the only changing point in html in the first page is the code inside the document.write(). This is just a simple javascript to know the syntax and symantics of it.
YOU ARE READING
Javascript Programming
RandomI am just documenting things what i learned online in here. I do express things in my own words. And I create my own program samples which serves as my practice. I do this so that when someday I would need some notes to review, I can just visit in h...
