jsFiddle Snippets Embedding to your Web Page

jsfiddle generally used for sharing, saving, and embedding HTML, CSS, and JavaScript snippets.

jsfiddle allows us to add code snippets within the web pages and you can customize the look and feel of the code snippet like – changing the visual theme, font color, code background, menu background.

jsfiddle shows JavaScript, HTML, CSS, and Result tabs by default. You can remove some of its tabs if their no use of it by check and uncheck the checkbox follow by the tab name.

For example, if you are making a code snippet in which you have only used the HTML and CSS section and not done any JavaScript work, in that case, there is no need to display the JavaScript tab on your web page.

jsFiddle Snippets Embedding to your Web Page

Read more

How to install Node.js on Windows

Node.js is a very powerful JavaScript-based framework/platform built on Google Chrome’s JavaScript V8 Engine which makes it possible to run Javascript on the server side.

It is used to develop I/O intensive web applications like video streaming sites, single-page applications, and other web applications. It is awesome for real time stuff for example if we use PHP for this then it is not good for this because it consumes a lot of memory.

Using NPM — a tool that makes installing and managing Node modules — it’s quite easy to add many useful tools to your web development toolkit.

Node.js is open source, completely free, and used by thousands of developers around the world.

Node.js lets developers write JavaScript for both client and server side, thereby making it easy to send data between the server and the client to synchronize the data automatically.

The data changes on the server immediately reflect in the client and the webpage that displays this data automatically updates itself.

How to install Node.js on Windows

Read more

While, Do-While, and For Loops in JavaScript

JavaScript offers three different types of loops: while, do-while, and for. Loops are a crucial component of programming.

It is simpler to carry out repeated operations in your code by using loops, which enable you to repeat a block of code numerous times. We’ll talk about the various loop types in JavaScript in this post, along with some tips on how to use them efficiently.

In this tutorial, I show the different types of loops in JavaScript and how to use them effectively in your code.

While, Do-While, and For Loops in JavaScript

Read more

How to add JavaScript to HTML page

By Adding JavaScript to HTML pages is essential for developing dynamic and interactive web applications. JavaScript may help you add more functionality and improve the user experience whether you’re creating a simple website or a sophisticated online application.

You can use it to validate form, file upload using AJAX, submit a form, etc. You can add JavaScript code using an external .js file or directly specify code between <script > tags on the page.

In this tutorial, I show both ways to include JavaScript code on the page.

Read more