My Blog

    • Sample Page
Illustration of a bird flying.
  • In which location cookies are stored on the hard disk?

    The storage of cookies on the hard disk depends on the OS and the browser. The Netscape Navigator on Windows uses a cookies.txt file that contains all the cookies. The path is c:\Program Files\Netscape\Users\username\cookies.txt The Internet Explorer stores the cookies on a file username@website.txt. The path is: c:\Windows\Cookies\username@Website.txt.

    October 28, 2022
  • Difference between Client side JavaScript and Server side JavaScript?

    Client-side JavaScript comprises the basic language and predefined objects which are relevant to running JavaScript in a browser. The client-side JavaScript is embedded directly by in the HTML pages. The browser interprets this script at runtime. Server-side JavaScript also resembles client-side JavaScript. It has a relevant JavaScript which is to run in a server. The server-side JavaScript…

    October 28, 2022
  • What is the output of “10”+20+30 in JavaScript?

    102030 because after a string all the + will be treated as string concatenation operator (not binary +).

    October 28, 2022
  • What is the output of 10+20+”30″ in JavaScript?

    3030 because 10+20 will be 30. If there is numeric value before and after +, it treats as binary + (arithmetic operator).

    October 28, 2022
  • What does the isNaN() function?

    The isNan() function returns true if the variable value is not a number. For example:

    October 28, 2022
  • How to create an array in JavaScript?

    There are 3 ways to create an array in JavaScript. Let’s see a simple code to create an array using object literal.

    October 28, 2022
  • How to create objects in JavaScript?

    There are 3 ways to create an object in JavaScript. Let’s see a simple code to create an object using object literal.

    October 28, 2022
  • How to write normal text code using JavaScript dynamically?

    The innerText property is used to write the simple text using JavaScript dynamically. Let’s see a simple example:

    October 28, 2022
  • How to write HTML code dynamically using JavaScript?

    The innerHTML property is used to write the HTML code using JavaScript dynamically. Let’s see a simple example:

    October 28, 2022
  • What is the difference between == and ===?

    The == operator checks equality only whereas === checks equality, and data type, i.e., a value must be of the same type.

    October 28, 2022
←Previous Page
1 … 29 30 31 32 33 … 113
Next Page→

My Blog

Proudly powered by WordPress