Tags Used In This Practical:
1.form: The HTML form element defines a form that is used to collect user input
2.input: The input tag specifies an input field where the user can enter data.
input elements are used within a form element to declare input controls that allow users to
input data.
input data.
Java Script Function:
eval function: The eval() function evaluates or executes an argument.
If the argument is an expression, eval() evaluates the expression. If the argument is one or more
JavaScript statements, eval() executes the statements.
Example:
var x = 10;
var y = 20;
var a = eval("x * y") ;
var b = eval("2 + 2") ;
var c = eval("x + 17");
var res = a + b + c;
var y = 20;
var a = eval("x * y") ;
var b = eval("2 + 2") ;
var c = eval("x + 17");
var res = a + b + c;
Source code : https://drive.google.com/drive/u/1/folders/18zWSwHdLjHs0lApAeC6Z8-t9l5KkV6WQ
Name : Thakor Hardik
Id No : 18CE129
