{"id":8359,"date":"2020-01-04T13:19:22","date_gmt":"2020-01-04T13:19:22","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=8359"},"modified":"2020-01-04T13:24:18","modified_gmt":"2020-01-04T13:24:18","slug":"javascript-begineer-part-1","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/javascript-begineer-part-1\/","title":{"rendered":"Javascript Beginner Part-1"},"content":{"rendered":"\n<p>Hi, I am going to introduce some examples on adding javascript with HTML pages. you can add javascript with the help of &lt;script>&lt;\/script> tag within head or body section.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/cmschandan\/6f0d2ac8ec6b6aa09098a4be6ac5c36d.js\"><\/script>\n\n\n\n<p>Now, I am going to discuss an external way of adding javascript to our web pages. you have to create one sample.js file and add the link in the main page under the &lt;head>&lt;\/head> area.<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/cmschandan\/7baedb2f9b0518d0e01ec54e42ca1046.js\"><\/script>\n\n\n\n<p>Let&#8217;s see an example of write function. this function is used to show the data on a webpage. for this you have to see an example below:<\/p>\n\n\n\n<script src=\"https:\/\/gist.github.com\/cmschandan\/df340d15b3dd1339e973a4eb068ce0be.js\"><\/script>\n","protected":false},"excerpt":{"rendered":"<p>Hi, I am going to introduce some examples on adding javascript with HTML pages. you can add javascript with the help of &lt;script>&lt;\/script> tag within head or body section. Now, I am going to discuss an external way of adding javascript to our web pages. you have to create one sample.js file and add the&#8230;<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[2],"tags":[4459,5612,5611],"class_list":["post-8359","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-html","tag-inline","tag-javascript"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8359","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=8359"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8359\/revisions"}],"predecessor-version":[{"id":8365,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/8359\/revisions\/8365"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=8359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=8359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=8359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}