-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path339.dd62ae25d191dd37601f.js
More file actions
1 lines (1 loc) · 1.5 KB
/
339.dd62ae25d191dd37601f.js
File metadata and controls
1 lines (1 loc) · 1.5 KB
1
"use strict";(self.webpackChunkjavascript=self.webpackChunkjavascript||[]).push([[339],{339:(i,e,o)=>{o.r(e),o.d(e,{title:()=>s,story:()=>t});const s="Hello World Web",t='\n<div>\n <div class="section">\n We will create the first program using webpage now.\n </div>\n\n <div class="section">\n In order to run any program in the browser, we need to have one <code>.html</code> file, so we will create one.\n \n Create <code>index.html</code> file and paste the following code:\n <br> <br>\n <iframe class="m-0 p-0" style="width: 100%; min-height: 390px;" src="https://gist.github.com/pritraj/d8b609a8b01a7f2a5b76295e0e5a0279.pibb?scroll=true">Your browser does not support IFrames</iframe>\n </div>\n\n <div class="section">\n Now create <code>main.js</code> file on same level as <code>index.html</code> file.\n Paste the following code:\n\n <code>\n console.log("Hello World");\n </code>\n\n </div>\n\n <div class="section">\n Now open the <code>index.html</code> file in your browser.\n <br> <br>\n Right click in the browser and click on Inspect Element.\n <br> <br>\n Open the console tab and you will see the following output:\n <br> <br>\n <code class="text-success">\n Hello World\n </code>\n\n </div>\n\n <div class="section">\n \u{1f38a} Cheers! You have successfully executed the JavaScript code in browser\n </div>\n \n</div>\n\n'}}]);