Category Archives: JAVASCRIPT
Javascript to generate squares of 1 to n numbers
Javascript to reverse a given number
This program uses a Javascript to reverse a given number. This is also known as the implementation of a palindrome. The program is quite simple. It asks you to enter a number and reverses the same for you. You can refer to the images for inputs and outputs. We have explained two different methods to reverse a number… Read More »
Introduction to AngularJS with a simple example
Many of you might be wondering what is AngularJS and what is the use of it. This is an open source framework for browser-based (client-side) applications, maintained by Google. So without worrying much, let’s learn what is this framework all about and scope of AngularJS. What is AngularJS? AngularJS is a structural Javascript framework used for dynamic web… Read More »
How to generate Fibonacci numbers using Javascript
This program explains how to generate Fibonacci numbers using Javascript. The javascript is embedded in HTML code. You can refer to the input and output images attached. Input: A number Output: Fibonacci numbers series for the entered number //fibonacci.html <!DOCTYPE HTML> <?xml version=”1.0″ encoding=”UTF-8″?> <html> <head> <title> fibonacci.html </title> </head> <body style=”background-color:green”> <!– it is advised to not… Read More »