Notes for You:: Hello World program in JavaScript - JavaScript Tutorial 01
Example Code:
<script type="text/javascript">
document.write("Hello World!");
</script>
Note:
replace < with less than symbol.
replace > with greater than symbol.
script tag in HTML:
We embed Java Script code in an HTML document using the script tag.
script tag is a paired tag; can be placed anywhere in the document.
script tag attribute: type="text/javascript"
indicates whatever we write in between script tag is considered as Java Script code.
document.write("Hello World!"):
document:
is in-built object in JavaScript; which refers to HTML document.
write(expression):
is a method available in document object, which is used to display output on the document.
pair of brackets():
an identifier followed by pair of brackets indicates a function or method in JavaScript.
dot(.):
is a member access operator, which is used to access member data or member methods.
JavaScript string(""):
is a sequence of characters enclosed in between pair of double quotations.
Semicolon(;):
every JavaScript statement ends with a semicolon.
=========================================
Time Stamps:-
0:00:18 - Creating HTML Document
0:02:30 - How to embed and write JavaScript Code
0:03:02 - document object in JavaScript
0:03:22 - Member access operator (dot) in JavaScript
0:03:54 - write() method in JavaScript
0:04:16 - string in JavaScript
0:05:00 - How to terminate JavaScript statements
0:05:07 - How to print Hello World in JavaScript
=========================================
Follow the link for next video:
JavaScript Tutorial 02 - White space & Line break in JavaScript
• Print Multiple Spaces & Line break in...
=========================================
JavaScript Tutorials Playlist:-
• JavaScript Tutorials
=========================================
Watch My Other Useful Tutorials:-
jQuery Tutorials Playlist:-
• jQuery Tutorials
jQuery UI Tutorials Playlist:-
• jQuery UI Tutorials
Bootstrap Tutorials Playlist:-
• Bootstrap4 Tutorials
=========================================
HI, I am Manjunath Chidre and I'm an Indian born. I make video tutorials on Computer Science, Information Technology, Animation, VFX, Multimedia, & Gaming courses. Essentially, I set my goal to help students around the world; to learn at free of cost; through my educational YouTube channel Chidre'sTechTutorials.
=========================================
Every video on my channel is made with Love and Hard work, So don't forget to Like, Comment & Share.
Please do Subscribe, Hit the bell icon & Enjoy Learning. It's FREE.
=========================================
Subscribe to our YouTube channel:-
/ chidrestechtutorials
Join as member of our YouTube channel:-
https://www.youtube.com/chidrestechtu...
Become our Patron:-
/ chidrestechtutorials
Visit our Website:-
https://www.chidrestechtutorials.com
Download our Notes from Instamojo:-
https://chidrestechtutorials.myinstam...
Buy our Products on Spring:-
https://chidres-tech-tutorials.creato...
=========================================
Follow us:-
Google My Business:-
https://chidrestechtutorials.business...
Google Blog:-
http://manjunathchidre.blogspot.com
LinkedIn:-
/ chidrestechtutorials
Facebook:-
/ chidrestechtutorials
Twitter:-
/ manjunathchidre
Tumblr:-
/ chidrestechtutorials
Pinterest:-
/ chidrestechtutorials
=========================================
Despite my inconsistent uploads; Thanks for being amazing learners and still sticking with me on YouTube.
=========================================
Hash Tags:-
#ChidresTechTutorials #JavaScript #JavaScriptTutorial