JavaScript in the browser
JavaScript was initially creates to make web pages alive. JS can be written right in a web pages HTML to make it interactive. The browser has an embedded engine called the JavaScript engine or the JavaScript runtime.
JavaScript was initially creates to make web pages alive. JS can be written right in a web pages HTML to make it interactive. The browser has an embedded engine called the JavaScript engine or the JavaScript runtime.
A Anchor defines a Hyper link. The important attribute of the element is the “href” attribute, which indicates the link address. A hyperlink is a word, group of words, or images that you can click on to jump to another document. When we move the cursor over a link in a Web page, the arrow will turn into little hand.
Array is the collection of similar types of data value is knows as Array. Array are variable which can hold more than one value. Declaration can be in two ways. Static Declaration and Dynamic Declaration. it can hold many values under a single name.
Strings are use to store and manipulate. It is a group of Characters is called String. String can be creates using single quotes and double quotes. It can be create using the following Syntax.
This tag is use to create table in which we represent data in tabular formatted. Each table row is define with the “tr” tag. A table header is define with the “th” tag. A table data cell is define with the “td” tag is knows as HTML Table.
We use loops to perform repeated actions. For example If you are design a task of printing numbers from 1 to 100, it will be very hectic to do it manually, loop help us automatic such tasks.
Operators are use to performs mathematical and logical computations on operands. In JavaScript operators are use for compare values, perform arithmetic operations, Ternary Operators etc. There are various operators supported by JavaScript is knows as JavaScript Operators.
The comment tag is use to insert comments in the source code. Comments are not display in the browsers. We can use comments to explain our code, which can help us when we edit the source code at a later date. This is especially useful if we have a lot of code.
Forms are use to add an element of interactivity to website. HTML forms are use to collect different kinds of user input. Form elements are elements that allow the user to enter information in a form (like text fields, text area fields, drop-down menus, radio buttons, check boxes, and other).
This property is use to the change the shape and size and position of any element on the web-page. It transforms the elements along the X-axis and Y-axis is knows as CSS 2D Transform. There are 6 Main transform method.