+ 9

What is the function of javascript?

10th Oct 2019, 3:21 AM
Souvik Sen
Souvik Sen - avatar
13 Answers
+ 12
It adds functionality and logic to HTML webpages. https://www.sololearn.com/Course/JavaScript/?ref=app
10th Oct 2019, 3:31 AM
Jayden LeCorps
Jayden LeCorps - avatar
+ 10
Functions are custom code defined, they let you extract the code and run it as a separate unit.
10th Oct 2019, 4:20 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 7
To add interactivity and dynamism to web pages amongst others.
10th Oct 2019, 6:47 AM
Sonic
Sonic - avatar
+ 6
To make a website or web application more interactive by adding some logic to it. You can create a dynamic animation, respond to user actions like mouse click, etc.
10th Oct 2019, 3:32 AM
Rizky
Rizky - avatar
+ 3
Hi, Functions are generally used to perform a particular task. It also used to perform the same set of codes multiple times. In JavaScript, you have to write a function keyword to declare a function. Following is the syntax of declaring the function. Syntax: function fun_name(par1,par2,...){ code to be executed. }
11th Oct 2019, 3:59 AM
Ishan Shah
Ishan Shah - avatar
+ 3
How do i use colors such as dark blue, pale blue etc esp in CSS coz I' m only able to apply blue
11th Oct 2019, 11:59 AM
Victor Sayi
Victor Sayi - avatar
+ 3
According what you are using it for. Me, I use it to manipulate web pages
11th Oct 2019, 8:17 PM
ibe solution
ibe solution - avatar
+ 3
🌜Functions are one of the fundamental building blocks in JavaScript. A function is a JavaScript procedure—a set of statements that performs a task or calculates a value. To use a function, you must define it somewhere in the scope from which you wish to call it.🌛
12th Oct 2019, 12:06 AM
Gwendolyn Phillips de Ashborough
Gwendolyn Phillips de Ashborough - avatar
+ 2
Functions are just a bunch of codes with a name. But you can use them as many times as you want without rewriting. You just have to call them.
11th Oct 2019, 2:31 AM
John
+ 2
To make web sites come alive.
11th Oct 2019, 10:16 AM
Sonic
Sonic - avatar
+ 2
It is for Web interactivity if you want a short answer keep working!!
11th Oct 2019, 12:29 PM
waveboyp
waveboyp - avatar
+ 1
It transform the static webpage to interactive webpage
12th Oct 2019, 12:05 AM
Youssef Mostafa Lotfy Mohamed
Youssef Mostafa Lotfy Mohamed - avatar
0
It makes the website (or game or whatever you are working on) interactive. It will do more things and be capable of a lot more than a static HTML web page.
11th Oct 2019, 9:13 PM
Andrew Johnson
Andrew Johnson - avatar