{"id":65790,"date":"2021-07-14T04:10:06","date_gmt":"2021-07-14T08:10:06","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/javascript-by-example-javascript\/"},"modified":"2021-07-14T04:10:06","modified_gmt":"2021-07-14T08:10:06","slug":"javascript-by-example-javascript","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=65790","title":{"rendered":"JavaScript by Example #JavaScript"},"content":{"rendered":"<p>JavaScript by Example:<\/p>\n<p><b>Example 1.1<\/b> <i>A si mple JavaScript program<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/1.1.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/1.1.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 1.2<\/b> <i>An HTML form with a JavaScript event handler defined<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/1.2.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/1.2.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 1.3<\/b> <i>Estimating Your Taxes with JavaScript<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/1.3.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/1.3.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 6.1<\/b> <i>Defining JavaScript Functions<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/6.1.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 6.2<\/b> <i>Using Functions as Data<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/6.2.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 6.3<\/b> <i>Checking for the Correct Number of Arguments<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/6.3.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 6.4<\/b> <i>A Multi-Argument max() Function<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/6.4.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 6.5<\/b> <i>Creating and Initializing an Array<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/6.5.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 6.6<\/b> <i>Using Static Variables<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/6.6.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 7.1<\/b> <i>A Rectangle Object Constructor Function<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/7.1.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 7.2<\/b> <i>Defining and Invoking a Method<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/7.2.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 7.3<\/b> <i>Defining Methods in a Constructor<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/7.3.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 7.4<\/b> <i>Defining a Class with a Prototype Object<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/7.4.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 7.5<\/b> <i>Defining instance\/class variables and methods<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/7.5.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 7.6<\/b> <i>Defining and using the valueOf() method<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/7.6.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 8.1<\/b> <i>An Array Constructor<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/8.1.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 9.1<\/b> <i>Copying, Passing, and Comparing by Value<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/9.1.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 9.2<\/b> <i>Copying, Passing, and Comparing by Reference<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/9.2.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 9.3<\/b> <i>References Themselves are Passed by Value <\/i><a href=\"http:\/\/examples.oreilly.com\/9781565922341\/9.3.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 9.4<\/b> <i>Are Strings and Functions Compared by Value or Reference?<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/9.4.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/9.4.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 9.5<\/b> <i>The assign() Method<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/9.5.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 10.1<\/b> <i>A Simple JavaScript Program in an HTML File<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/10.1.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/10.1.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 12.1<\/b> <i>Using the alert(), confirm() and prompt() methods<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.1.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.1.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 12.2<\/b> <i>Displaying and Reporting JavaScript Errors with a<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.2.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.2.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 12.3<\/b> <i>Displaying a link&#8217;s destination in the status line<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.3.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.3.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 12.4<\/b> <i>A digital clock in the status line<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.4.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.4.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 12.5<\/b> <i>Creating an invisible frame<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.5.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 12.6<\/b> <i>Dynamically creating and animating frames<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.6.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/12.6.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 13.1<\/b> <i>Getting Browser Version Information<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/13.1.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 13.2<\/b> <i>Extracting Arguments from a URL<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/13.2.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 13.3<\/b> <i>A Navigation Bar Using the History and Location Objects<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/13.3.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 14.1<\/b> <i>Creating a plain-text document<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/14.1.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/14.1.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 14.2<\/b> <i>Generating XBM images with JavaScript<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/14.2.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/14.2.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 14.3<\/b> <i>Listing the Links in a Document<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/14.3.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 14.4<\/b> <i>A Random Hypertext Link<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/14.4.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 14.5<\/b> <i>Invoking Methods of a Java applet from JavaScript <\/i><a href=\"http:\/\/examples.oreilly.com\/9781565922341\/14.5.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 15.1<\/b> <i>A Utility Class for Working with Cookies<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/15.1.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/15.1.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 16.1<\/b> <i>An Animation Using Image Replacement<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/16.1.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/16.1.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 16.2<\/b> <i>An Animation Using the onLoad() Event Handler<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/16.2.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/16.2.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 16.3<\/b> <i>Implementing a Toggle Button with Image Replacement<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/16.3.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/16.3.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 17.1<\/b> <i>An HTML Form Containing all Form Elements<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/17.1.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/17.1.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 17.2<\/b> <i>Performing Form Validation<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/17.2.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/17.2.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 18.1<\/b> <i>A Script Hidden from Old Browsers<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/18.1.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 18.2<\/b> <i>Displaying a Message on non-JavaScript Browsers<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/18.2.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 18.3<\/b> <i>Loading a JavaScript-based page only if JavaScript is supported<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/18.3.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 18.4<\/b> <i>Displaying a Message with &lt;NOSCRIPT&gt;<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/18.4.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 18.5<\/b> <i>Displaying a Message for Browsers that do not Support JavaScript 1.1<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/18.5.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 18.6<\/b> <i>A Web Page to test for JavaScript Compatibility<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/18.6.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 18.7<\/b> <i>Displaying a Failure Message when using &lt;SCRIPT SRC=&gt;<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/18.7.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 19.1<\/b> <i>Scripting the built-in Java classes<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/19.1.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/19.1.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 19.2<\/b> <i>Controlling an Applet with JavaScript<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/19.2.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 19.3<\/b> <i>Controlling a Plug-in from JavaScript<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/19.3.html\" target=\"new\" rel=\"noopener\">Run<\/a> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/19.3.txt\" target=\"new\" rel=\"noopener\"> View Source<br \/>\n<\/a><b>Example 19.4<\/b> <i>Using JavaScript from an Applet Method<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/19.4.txt\" target=\"new\" rel=\"noopener\">View Source<br \/>\n<\/a><b>Example 19.5<\/b> <i>A Java OutputStream for Displaying HTML in a Browser Window<\/i> <a href=\"http:\/\/examples.oreilly.com\/9781565922341\/19.5.txt\" target=\"new\" rel=\"noopener\"> View Source<\/a><\/p>\n<p>Reference: From: http:\/\/sitestree.com\/?p=3473<br \/> Categories:JavaScript<br \/>Tags:<br \/> Post Data:2016-07-16 13:37:04<\/p>\n<p>\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\t(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a><br \/>\n\t\tIn Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a><br \/>\n\t\t<a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a><br \/>\n\t\t8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) <\/a><br \/>\n\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com'> https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\tMedium: <a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"> https:\/\/medium.com\/@SayedAhmedCanada <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript by Example: Example 1.1 A si mple JavaScript program Run View Source Example 1.2 An HTML form with a JavaScript event handler defined Run View Source Example 1.3 Estimating Your Taxes with JavaScript Run View Source Example 6.1 Defining JavaScript Functions View Source Example 6.2 Using Functions as Data View Source Example 6.3 Checking &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=65790\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917],"tags":[],"class_list":["post-65790","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":70127,"url":"http:\/\/bangla.sitestree.com\/?p=70127","url_meta":{"origin":65790,"position":0},"title":"Javascript by Example #13","author":"Author-Check- Article-or-Video","date":"August 26, 2021","format":false,"excerpt":"JavaScript by Example:JavaScript by Example: Example 1.1 A simple JavaScript program Run View SourceExample 1.2 An HTML form with a JavaScript event handlerdefined Run View SourceExample 1.3 Estimating Your Taxes with JavaScript Run View SourceExample 6.1 Defining JavaScript Functions ViewSourceExample 6.2 Using Functions as Data ViewSourceExample 6.3 Checking for the\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65784,"url":"http:\/\/bangla.sitestree.com\/?p=65784","url_meta":{"origin":65790,"position":1},"title":"Some JavaScript stuff that you need to know #JavaScript","author":"Author-Check- Article-or-Video","date":"July 14, 2021","format":false,"excerpt":"What you really need to learn in Javascript? 1. Where you can place JavaScript codes? Anywhere in the web-pages, ideally in the header section, or in an external file. If you keep javascript codes in an external file, the codes will be re-usable from different web-pages 2. Some basic programming:\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21498,"url":"http:\/\/bangla.sitestree.com\/?p=21498","url_meta":{"origin":65790,"position":2},"title":"Plugins for NetBeans IDE : For Web Development in PHP\/MySQL\/JavaScript\/JQuery","author":"Author-Check- Article-or-Video","date":"March 2, 2021","format":false,"excerpt":"The plugins will provide additional functionality to make your life easier in using the IDE How to install: From Tools->plugins, you can select the plugins and install them. CoffeeScript editor features: Just works! (No need for additional dependencies) Autocompiling to a JavaScript file in the same directory \u00a0 JSLint is\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70149,"url":"http:\/\/bangla.sitestree.com\/?p=70149","url_meta":{"origin":65790,"position":3},"title":"JavaScript Miscellaneous Topics #13","author":"Author-Check- Article-or-Video","date":"August 27, 2021","format":false,"excerpt":"JavaScript Miscellaneous Topics. Please check below. Detect browser name and version: var browser=navigator.appName; var b_version=navigator.appVersion; Other browser related: navigator.appCodeName, navigator.platform, navigator.platform , navigator.cookieEnabled , navigator.userAgent, navigator.appMinorVersion, navigator.cpuClass, navigator.onLine, navigator.browserLanguage, navigator.systemLanguage, navigator.userLanguage It's a good idea to use escape function for setting cookie values (if more than one word). Also, use\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"hello","src":"b_pink.gif","width":350,"height":200},"classes":[]},{"id":7065,"url":"http:\/\/bangla.sitestree.com\/?p=7065","url_meta":{"origin":65790,"position":4},"title":"\u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f \u0995\u09cb\u09a5\u09be\u09df \u0995\u09bf\u09ad\u09be\u09ac\u09c7 \u09b2\u09bf\u0996\u09ac\u09c7\u09a8 (JavaScript Where To)","author":"Author-Check- Article-or-Video","date":"March 16, 2015","format":false,"excerpt":"\u099c\u09be\u09ad\u09be\u09b8\u09cd\u0995\u09cd\u09b0\u09bf\u09aa\u09cd\u099f \u0995\u09cb\u09a5\u09be\u09df \u0995\u09bf\u09ad\u09be\u09ac\u09c7 \u09b2\u09bf\u0996\u09ac\u09c7\u09a8 (JavaScript Where To) \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u09aa\u09c7\u099c \u098f\u09b0 \u09ae\u09a7\u09cd\u09af\u09c7 javascript \u0995\u09c7 \u09b9\u09c7\u09a1 \u098f\u09ac\u0982 \u09ac\u09a1\u09bf \u09b8\u09c7\u0995\u09b6\u09a8 \u098f \u09b0\u09be\u0996\u09a4\u09c7 \u09b9\u09df\u0964 <script> \u099f\u09cd\u09af\u09be\u0997 \u098f\u0987\u099a\u099f\u09bf\u098f\u09ae\u098f\u09b2 \u098f javascript \u0995\u09cb\u09a1 \u0985\u09ac\u09b6\u09cd\u09af\u0987 <script> \u098f\u09ac\u0982 <\/script> \u099f\u09cd\u09af\u09be\u0997 \u098f\u09b0 \u09ae\u09a7\u09cd\u09af\u09c7 \u09b2\u09bf\u0996\u09a4\u09c7 \u09b9\u09df\u0964 \u0989\u09a6\u09be\u09b9\u09b0\u09a3 <script> document.getElementById(\"demo\").innerHTML = \"My First JavaScript\"; <\/script> \u09aa\u09c1\u09b0\u09be\u09a4\u09a8 \u0989\u09a6\u09be\u09b9\u09b0\u09a3 \u0997\u09c1\u09b2\u09cb\u09a4\u09c7 \u099f\u09be\u0987\u09aa attribute \u09aa\u09be\u0993\u09df\u09be \u09af\u09c7\u09a4\u09c7\u2026","rel":"","context":"In &quot;JavaScript&quot;","block_context":{"text":"JavaScript","link":"http:\/\/bangla.sitestree.com\/?cat=65"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":70121,"url":"http:\/\/bangla.sitestree.com\/?p=70121","url_meta":{"origin":65790,"position":5},"title":"What you really need to learn in Javascript? #13","author":"Author-Check- Article-or-Video","date":"August 26, 2021","format":false,"excerpt":"What you really need to learn in Javascript? 1. Where you can place JavaScript codes? Anywhere in the web-pages, ideally in the header section, or in an external file. If you keep javascript codes in an external file, the codes will be re-usable from different web-pages2. Some basic programming: document.write('Hello\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/65790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65790"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/65790\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65790"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}