answersLogoWhite

0

📱

JavaScript

Questions about JavaScript - the Scripting Language used for Web development.

721 Questions

How is DOM used in JavaScript?

DOM stands for document Object Model that is used to get, change, add or delete HTML elements.

How do you put java script into HTML?

Javascript inside html

<html>

<head>

<script type="text/javascript" language="javascript">

// Java script code here

</script>

<body>

// html code here

</body>

</html>

Via External Link:

<html>

<head>

<script type="text/javascript" language="javascript" src="location of js file">

</script>

<body>

// html code here

</body>

</html>

How can you insert javascript into an HTML document?

Here are two examples of internal and external calling of javascript

  • Internal Calling (Not Recommended)

  • External Calling (Recommended)

Difference between alert number javascript?

alert() function display the message to the user with OK button. Pressing 'OK' button will close the pop up message box.

Example: Please enter your name.

confirm() function will display the message to user with OK and CANCEL button .Pressing OK return 'true' to js script where as pressing CANCEL button return 'false' to js script.

confirm() function is mostly used to collect the user's input also.

Example: Are you willing proceed?

Difference between vbscript and java script?

Visual Basic script and JavaScript are both programming languages. JavaScript is used primarily to create websites, and has no user interface. Visual Basic is used to create software applications, has a user interface, and is less heavy on the code than JavaScript.

Java script is best than other language?

Javascript is useful for coding dynamic webpages. It allows you to make and interpret cookies, make simple animation, make pull down menus, and more. Javascript is used to add more power to HTML, which makes it very useful for webmasters to learn.

How do you count the vowels in a string?

#include #include void main() { char string[50]; int vowel=0,consonant=0; cout<<"Enter the string"; cin.getline(string,50); for(int i=0;string[i]!='\0';i++) { switch (string[i]) { case 'a': case 'A': case 'e': case 'E': case 'i': case 'I': case 'o': case 'O': case 'u': case 'U':vowel++; continue; } if (string[i]!=' ') consonant++; } cout<<"No of vowels="<<<"\nNo of consonants="<

When was Java originated?

in 1991 games gosling was invented the java

but officially released in 1995 by sun micro systems

What is the difference between server-side and client-side image maps?

server-side and client-side. In the server-side method, when you click an image leading to multiple links, you are actually invoking a cgi-bin program. The program typically reads a separate map file that tells the program where to go, depending on what part of the image you are clicking. The program returns the destination to the web browser, which then opens the page. The imagemap is called "server-side" because the web browser must contact the remote host to find which site to contact.

Client-side imagemaps, by contrast, do not require a cgi-bin program to function. The imagemap is actually an HTML construct that can be contained on the same page as the clickable image. Rather than requiring the program on the remote host to determine what site to access, the web browser itself associates regions of the image with the appropriate sites. The browser, rather than the remote host, interprets the imagemap.

Explain briefly about Cascading Style Sheet?

Cascading Style SheetsCSS style sheets are blocks of code that can be embedded in a HTML page or stored in a .css file.

CSS manipulates the elements of a HTML webpage by changing the properties of the HTML elements in the page, such as BODY P or TABLE elements.


CascadingCascading or the Cascade refers to how the the final style will render, if the first block in a CSS sheet defines that all P tags will have black text and be font type Arial, then that will be the case for all P elements. But if in another block further down the page resets the P tag to have text that is green then all text in the P elements will be green. But all P tags will still have Arial type font.

Example Code:
Block 1
p {
color: #000000; /* Set to Black */
font-family: Arial;

}

Block 2
p {
color: #00FF00; /* Set to Green*/

}

And in the case that another Block sets the P tag to have a background color of Blue:

Block 3
p {
bacground-color: #0000FF; /* Set to Blue */

}

Then the final Cascade will result in the P tag being:

Final Cascade
p {
bacground-color: #0000FF; /* Set to Blue */
color: #00FF00; /* Set to Green*/
font-family: Arial;

}

Why to use 'import' in java?

The import statement in Java allows to refer to classes which are declared in other packages to be accessed without referring to the full package name. You do not need any import statement if you are willing to always refer to java.util.List by its full name, and so on for all other classes. But if you want to refer to it as List, you need to import it, so that the compiler knows which List you are referring to.

Classes from the java.lang package are automatically imported, so you do not need to explicitly do this, to refer to String, for example.

How do you install java script on Android phone?

JavaScript comes pre-installed with the browser that Android runs by default. It cannot be "installed" and "uninstalled" on its own.

You may be trying to install Java, the programming language and VMs.

Is C is better than JavaScript?

You can't compare them it's like apples and oranges. Javascipt is mainly geared for client-side execution in a web browser. c is an old language and is sort of the parent of all modern programming languages including javascript, but it would be used in a totally different scenario, eg. you could use it for application development on a server or desktop, rather than in an online scenario.

What is the difference between Web UI and Java?

Java Virtual Machine (JVM) is exactly as it's titled, it's just a virtual machine... while Windows is an operating system.

But since the JVM is used to run Java code, it is multi-platform.

How do you synchronize java?

Synchronizaion is the process by which only one Thread can access an object at a time,until and unless thread releases it's lock no other thread can acess the object. there are two forms of syncronization method and statement.

to make a method synchronized just add the keyword synchronized to the signature ie: public synchronized void increment() {

c++;

}

to create syncrhonized statements are like this:

synchronized(this) {

lastName = name;

nameCount++;

}

note: constructors can not be syncronized

How do you create slide show using javascript code?

Here is the code:

<html>

<head>

<script type="text/javascript" language="javascript">

function loadImage()

{

var image1 = new Image();

var image2 = new Image();

var image3 = new Image();

image1.src = "mypic.jpg"; // Put any image you

image2.src = "mypic2.jpg";

image3.src = "mypic3.png";

if(!document.images)

{

alert("No Images!!");

}

document.images.slide.src=eval("image"+step+".src");

if (step<3)

step++;

else

step=1;

//call function "slideit()" every 4 seconds

setTimeout("loadImage()",4000);

}

loadImage();

</script>

</head>

<body onload="loadImage()">

<img src="mypic.jpg" class="image" name="slide" />

</body>

</html>

Which HTML element do you put the JavaScript?

In order to put JavaScript in a HTML document place the code in script tags. These tags can be included in the HEAD section of the HTML document, or in the BODY.

Often, scripts are placed at the very bottom of the page to enhance search engine optimization (SEO).

Sample document</head></p><p></head></p><p><body></p><p>sample text sample text</p><p>sample text sample text</p><p></body></p><p></html></p></div></div></div><div class="w-full null"><div class="ml-auto"><button type="button" class="py-2 px-3 rounded-md flex items-center justify-center bg-tertiary text-secondaryLight caption3 undefined"><img alt="" class="ml-1 self-center" loading="eager" width="20" height="20" src="/icons/createIcon.svg"/><span class="text=-base">Answer</span></button></div></div></div><div id="slot-before_question_19"></div><div class="grid grid-cols-1 justify-start items-start qCard my-4 p-4 bg-white md:rounded shadow-cardGlow"><div class="flex justify-between"><div class="flex h-full w-auto overflow-x-scroll no-scrollbar"><div class="mb-2 flex h-full w-auto"><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/javascript"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">JavaScript</div></a></li></ul></div></div><div id="options-menu" class="flex body1 bg-transparent h-6 pl-0 hover:bg-transparent no-underline"><div class="flex items-end caption1"></div><div class="relative inline-block "><div class="h-3 focus:outline-none"><svg viewBox="0 0 24 24" class="h-6 w-6 mt-px transform rotate-90"><use xlink:href="#menu-dots" fill="#3A78FC"></use></svg></div></div></div></div><p class="w-full mb-3 headline1" property="name"><a class="hover:no-underline headline1" href="https://www.answers.com/engineering/How_do_you_perform_the_calculation_by_java_script">How do you perform the calculation by java script<!-- -->?</a></p><div class="flex justify-between"><div class="flex m-1 items-center"><a><img class="avatar-h-20 avatar-img" alt="User Avatar" src="/images/avatars/default.png"/></a><a class="hover:no-underline " href="#"><p class="caption2 ml-1"> Asked by <span property="creator" class="text-primaryColor">Anonymous</span></p></a></div></div><div class="w-full body1"><div class="markdownStyles undefined" property="content"><p><!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></p> <p><HTML xmlns="http://www.w3.org/1999/xhtml"></p> <p><head></p> <p><meta http-equiv="Content-Type" content="text/HTML; charset=UTF-8" /></p> <p><title>Untitled Document</title></p> <p><link href="lightbox-styles.css" rel="stylesheet" type="text/css" /></p> <p><script language="javascript" type="text/javascript"></p> <p>function currencyFormat(fld, milSep, decSep, e) {</p> <p>var sep = 0;</p> <p>var key = '';</p> <p>var i = j = 0;</p> <p>var len = len2 = 0;</p> <p>var strCheck = '0123456789';</p> <p>var aux = aux2 = '';</p> <p>var whichCode = (window.Event) ? e.which : e.keyCode;</p> <p>if (whichCode 3) {</p> <p>aux2 += milSep;</p> <p>j = 0;</p> <p>}</p> <p>aux2 += aux.charAt(i);</p> <p>j++;</p> <p>}</p> <p>fld.value = '';</p> <p>len2 = aux2.length;</p> <p>for (i = len2 - 1; i >= 0; i--)</p> <p>fld.value += aux2.charAt(i);</p> <p>fld.value += decSep + aux.substr(len - 2, len);</p> <p>}</p> <p>return false;</p> <p>}</p> <p>function deleteChar(Input)</p> <p>{</p> <p>Input.value = Input.value.substring(0, Input.value.length - 1);</p> <p>}</p> <p>function validate()</p> <p>{</p> <p>var n=document.Calc.Input.value; //Get the value of textbox into variable</p> <p>if (n<0.1 n >10) {</p> <p>alert("Please enter a value in the range of 0.1 to 10.0 ml/sec");</p> <p>document.Calc.Input.value='';</p> <p>}</p> <p>else {</p> <p>document.getElementById('displ').value = document.getElementById('junk').value;</p> <p>document.getElementById('light1').style.display='none';</p> <p>document.Calc.Input.value='';</p> <p>document.getElementById('fade1').style.display='none';</p> <p>}</p> <p>}</p> <p></script></p> <p></head></p> <p><body></p> <p><p><a href="javascript:void(0)" onclick = "document.getElementById('light1').style.display='block';document.getElementById('fade1').style.display='block';document.Calc.Input.value='';"><input type="text" id="displ" readonly="readonly" /></a></p></p> <p><div id="light1" class="white_content"></p> <p><form name="Calc"></p> <p><div></p> <p><input type="text" name="Input" id="junk" size="16" onkeypress="return(currencyFormat(this,',','.',event))" /></p> <p><input type="button" id="backspace" value="Backspace" onclick="deleteChar(this.form.Input)" /></p> <p></div></p> <p><div class="first"></p> <p><input type="button" name="one" VALUE=" 1 " Onclick="Calc.Input.value += '1'"></p> <p><input type="button" name="two" VALUE=" 2 " Onclick="Calc.Input.value += '2'"></p> <p><input type="button" name="three" VALUE=" 3 " Onclick="Calc.Input.value += '3'"></p> <p></div></p> <p><div class="second"></p> <p><input type="button" name="four" VALUE=" 4 " Onclick="Calc.Input.value += '4'"></p> <p><input type="button" name="five" VALUE=" 5 " Onclick="Calc.Input.value += '5'"></p> <p><input type="button" name="six" VALUE=" 6 " Onclick="Calc.Input.value += '6'"></p> <p></div></p> <p><div class="third"></p> <p><input type="button" name="seven" VALUE=" 7 " Onclick="Calc.Input.value += '7'"></p> <p><input type="button" name="eight" VALUE=" 8 " Onclick="Calc.Input.value += '8'"></p> <p><input type="button" name="nine" VALUE=" 9 " Onclick="Calc.Input.value += '9'"></p> <p></div></p> <p><div class="fourth"></p> <p><input type="reset" name="cancel" VALUE="Cancel" Onclick="Calc.Input.value += ''"></p> <p><input type="button" name="zero" VALUE=" 0 " Onclick="Calc.Input.value += '0'"></p> <p><input type="button" name="enter" VALUE="Enter" Onclick="validate();"></p> <p></div></p> <p></form><a href = "javascript:void(0)" onclick = "document.getElementById('light1').style.display='none';document.getElementById('fade1').style.display='none'">Close</a></div></p> <p><div id="fade1" class="black_overlay"></div></p> <p></body></p> <p><!-- honey --></p> <p></HTML></p></div></div><div class="w-full null"><div class="ml-auto"><button type="button" class="py-2 px-3 rounded-md flex items-center justify-center bg-tertiary text-secondaryLight caption3 undefined"><img alt="" class="ml-1 self-center" loading="eager" width="20" height="20" src="/icons/createIcon.svg"/><span class="text=-base">Answer</span></button></div></div></div><div id="slot-before_question_20"></div><div class="grid grid-cols-1 justify-start items-start qCard my-4 p-4 bg-white md:rounded shadow-cardGlow"><div class="flex justify-between"><div class="flex h-full w-auto overflow-x-scroll no-scrollbar"><div class="mb-2 flex h-full w-auto"><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/javascript"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">JavaScript</div></a></li></ul></div></div><div id="options-menu" class="flex body1 bg-transparent h-6 pl-0 hover:bg-transparent no-underline"><div class="flex items-end caption1"></div><div class="relative inline-block "><div class="h-3 focus:outline-none"><svg viewBox="0 0 24 24" class="h-6 w-6 mt-px transform rotate-90"><use xlink:href="#menu-dots" fill="#3A78FC"></use></svg></div></div></div></div><p class="w-full mb-3 headline1" property="name"><a class="hover:no-underline headline1" href="https://www.answers.com/engineering/What_is_form_elements_in_java_script">What is form elements in java script<!-- -->?</a></p><div class="flex justify-between"><div class="flex m-1 items-center"><a><img class="avatar-h-20 avatar-img" alt="User Avatar" src="/images/avatars/default.png"/></a><a class="hover:no-underline " href="#"><p class="caption2 ml-1"> Asked by <span property="creator" class="text-primaryColor">Anonymous</span></p></a></div></div><div class="w-full body1"><div class="markdownStyles undefined" property="content"><div><p>Use one of the event listeners to use Javascript for form fields. For e.g.</p><p>For text: <input type="text" name="username" onchange="javascript:checkData();return false;" /></p><p>This little code would run javascript script when any change is done to the text of username. Here is another example</p><p>For Submit: <input type="submit" name="submit" value="Submit" onclick="javascript:checkData();return false;" /></p><p>This little code would ensure data is validated on client side (provided a client script exists).</p><p>For more information on event listeners check the <span>Related Links</span> section</p></div></div></div><div class="w-full null"><div class="ml-auto"><button type="button" class="py-2 px-3 rounded-md flex items-center justify-center bg-tertiary text-secondaryLight caption3 undefined"><img alt="" class="ml-1 self-center" loading="eager" width="20" height="20" src="/icons/createIcon.svg"/><span class="text=-base">Answer</span></button></div></div></div><div id="slot-before_question_21"></div><div class="grid grid-cols-1 justify-start items-start qCard my-4 p-4 bg-white md:rounded shadow-cardGlow"><div class="flex justify-between"><div class="flex h-full w-auto overflow-x-scroll no-scrollbar"><div class="mb-2 flex h-full w-auto"><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/java-programming"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">Java Programming</div></a></li></ul><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/javascript"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">JavaScript</div></a></li></ul><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/the-difference-between"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">The Difference Between</div></a></li></ul></div></div><div id="options-menu" class="flex body1 bg-transparent h-6 pl-0 hover:bg-transparent no-underline"><div class="flex items-end caption1"></div><div class="relative inline-block "><div class="h-3 focus:outline-none"><svg viewBox="0 0 24 24" class="h-6 w-6 mt-px transform rotate-90"><use xlink:href="#menu-dots" fill="#3A78FC"></use></svg></div></div></div></div><p class="w-full mb-3 headline1" property="name"><a class="hover:no-underline headline1" href="https://www.answers.com/engineering/In_Java_what_is_the_difference_between_heavyweight_and_lightweight_components">In Java what is the difference between heavyweight and lightweight components<!-- -->?</a></p><div class="flex justify-between"><div class="flex m-1 items-center"><a><img class="avatar-h-20 avatar-img" alt="User Avatar" src="/images/avatars/default.png"/></a><a class="hover:no-underline " href="#"><p class="caption2 ml-1"> Asked by <span property="creator" class="text-primaryColor">Anonymous</span></p></a></div></div><div class="w-full body1"><div class="markdownStyles undefined" property="content"><p>The basic difference between Swing and AWT is that Swing APIs are purely Java libraries i.e. they don't at all depend on the native libraries to draw graphical components. Because of this feature they provide a consistent look and feel on all platforms. AWT libraries require the support of native graphics libraries and some of their GUI components look different on different platforms. Moreover, Swing components are not inherently Thread safe, you explicitly have to write synchronized code to manipulate or redraw them whereas AWT components can be trusted in a multithreaded environment. AWT Components are called heavyweight components because of their dependency on native libraries. Swing components are called lightweight due to their independence of native libraries. Hence Swing operations are much faster because each and every operation is taken care by the Java runtime env and no delegation of events or commands to the native libraries is required.</p></div></div><div class="w-full null"><div class="ml-auto"><button type="button" class="py-2 px-3 rounded-md flex items-center justify-center bg-tertiary text-secondaryLight caption3 undefined"><img alt="" class="ml-1 self-center" loading="eager" width="20" height="20" src="/icons/createIcon.svg"/><span class="text=-base">Answer</span></button></div></div></div><div id="slot-before_question_22"></div><div class="grid grid-cols-1 justify-start items-start qCard my-4 p-4 bg-white md:rounded shadow-cardGlow"><div class="flex justify-between"><div class="flex h-full w-auto overflow-x-scroll no-scrollbar"><div class="mb-2 flex h-full w-auto"><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/computers"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">Computers</div></a></li></ul><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/javascript"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">JavaScript</div></a></li></ul><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/the-difference-between"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">The Difference Between</div></a></li></ul></div></div><div id="options-menu" class="flex body1 bg-transparent h-6 pl-0 hover:bg-transparent no-underline"><div class="flex items-end caption1"></div><div class="relative inline-block "><div class="h-3 focus:outline-none"><svg viewBox="0 0 24 24" class="h-6 w-6 mt-px transform rotate-90"><use xlink:href="#menu-dots" fill="#3A78FC"></use></svg></div></div></div></div><p class="w-full mb-3 headline1" property="name"><a class="hover:no-underline headline1" href="https://www.answers.com/engineering/What_are_the_difference_between_null_and_undefined_in_Javascript">What are the difference between null and undefined in Javascript<!-- -->?</a></p><div class="flex justify-between"><div class="flex m-1 items-center"><a><img class="avatar-h-20 avatar-img" alt="User Avatar" src="/images/avatars/default.png"/></a><a class="hover:no-underline " href="#"><p class="caption2 ml-1"> Asked by <span property="creator" class="text-primaryColor">Anonymous</span></p></a></div></div><div class="w-full body1"><div class="markdownStyles undefined" property="content"><div><p><span><span>EMPTY STRING-</span></span>it is a unique string of length zero.the empty string is still a sring upon which strin operation may be attempted.</p><p><span><span>NULL STRING-</span></span>In programming ,a character string that contais no data.</p></div></div></div><div class="w-full null"><div class="ml-auto"><button type="button" class="py-2 px-3 rounded-md flex items-center justify-center bg-tertiary text-secondaryLight caption3 undefined"><img alt="" class="ml-1 self-center" loading="eager" width="20" height="20" src="/icons/createIcon.svg"/><span class="text=-base">Answer</span></button></div></div></div><div id="slot-before_question_23"></div><div class="grid grid-cols-1 justify-start items-start qCard my-4 p-4 bg-white md:rounded shadow-cardGlow"><div class="flex justify-between"><div class="flex h-full w-auto overflow-x-scroll no-scrollbar"><div class="mb-2 flex h-full w-auto"><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/javascript"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">JavaScript</div></a></li></ul></div></div><div id="options-menu" class="flex body1 bg-transparent h-6 pl-0 hover:bg-transparent no-underline"><div class="flex items-end caption1"></div><div class="relative inline-block "><div class="h-3 focus:outline-none"><svg viewBox="0 0 24 24" class="h-6 w-6 mt-px transform rotate-90"><use xlink:href="#menu-dots" fill="#3A78FC"></use></svg></div></div></div></div><p class="w-full mb-3 headline1" property="name"><a class="hover:no-underline headline1" href="https://www.answers.com/engineering/What_are_usage_areas_of_scripting_languages">What are usage areas of scripting languages<!-- -->?</a></p><div class="flex justify-between"><div class="flex m-1 items-center"><a><img class="avatar-h-20 avatar-img" alt="User Avatar" src="/images/avatars/default.png"/></a><a class="hover:no-underline " href="#"><p class="caption2 ml-1"> Asked by <span property="creator" class="text-primaryColor">Anonymous</span></p></a></div></div><div class="w-full body1"><div class="markdownStyles undefined" property="content"><p>scripting languages would be like Javascript, VBscript, and scripting languages built into programs. dont be afraid to google things like this, for example you would want to type something like the following into google: "scripting languages"</p></div></div><div class="w-full null"><div class="ml-auto"><button type="button" class="py-2 px-3 rounded-md flex items-center justify-center bg-tertiary text-secondaryLight caption3 undefined"><img alt="" class="ml-1 self-center" loading="eager" width="20" height="20" src="/icons/createIcon.svg"/><span class="text=-base">Answer</span></button></div></div></div><div id="slot-before_question_24"></div><div class="grid grid-cols-1 justify-start items-start qCard my-4 p-4 bg-white md:rounded shadow-cardGlow"><div class="flex justify-between"><div class="flex h-full w-auto overflow-x-scroll no-scrollbar"><div class="mb-2 flex h-full w-auto"><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/computer-programming"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">Computer Programming</div></a></li></ul><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/java-programming"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">Java Programming</div></a></li></ul><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/javascript"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">JavaScript</div></a></li></ul></div></div><div id="options-menu" class="flex body1 bg-transparent h-6 pl-0 hover:bg-transparent no-underline"><div class="flex items-end caption1"></div><div class="relative inline-block "><div class="h-3 focus:outline-none"><svg viewBox="0 0 24 24" class="h-6 w-6 mt-px transform rotate-90"><use xlink:href="#menu-dots" fill="#3A78FC"></use></svg></div></div></div></div><p class="w-full mb-3 headline1" property="name"><a class="hover:no-underline headline1" href="https://www.answers.com/engineering/Why_do_you_need_other_programming_language_other_than_java">Why do you need other programming language other than java<!-- -->?</a></p><div class="flex justify-between"><div class="flex m-1 items-center"><a><img class="avatar-h-20 avatar-img" alt="User Avatar" src="/images/avatars/default.png"/></a><a class="hover:no-underline " href="#"><p class="caption2 ml-1"> Asked by <span property="creator" class="text-primaryColor">Anonymous</span></p></a></div></div><div class="w-full body1"><div class="markdownStyles undefined" property="content"><p>different languages has different purposes some are low level and some are high level e.g assembly language that is low level(not as a whole) works with machine but java didn't that's why we need other programming languages</p></div></div><div class="w-full null"><div class="ml-auto"><button type="button" class="py-2 px-3 rounded-md flex items-center justify-center bg-tertiary text-secondaryLight caption3 undefined"><img alt="" class="ml-1 self-center" loading="eager" width="20" height="20" src="/icons/createIcon.svg"/><span class="text=-base">Answer</span></button></div></div></div><div id="slot-before_question_25"></div><div class="grid grid-cols-1 justify-start items-start qCard my-4 p-4 bg-white md:rounded shadow-cardGlow"><div class="flex justify-between"><div class="flex h-full w-auto overflow-x-scroll no-scrollbar"><div class="mb-2 flex h-full w-auto"><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/java-programming"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">Java Programming</div></a></li></ul><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/javascript"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">JavaScript</div></a></li></ul><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/html"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">HTML</div></a></li></ul><ul class="topicChips"><li class="mr-4"><a class="hover:no-underline " href="https://www.answers.com/t/html5"><div class=" text-primaryColor h-7 mb-2 mr-2 cursor-pointer rounded flex justify-center items-center whitespace-nowrap caption1 " property="breadcrumb">HTML5</div></a></li></ul></div></div><div id="options-menu" class="flex body1 bg-transparent h-6 pl-0 hover:bg-transparent no-underline"><div class="flex items-end caption1"></div><div class="relative inline-block "><div class="h-3 focus:outline-none"><svg viewBox="0 0 24 24" class="h-6 w-6 mt-px transform rotate-90"><use xlink:href="#menu-dots" fill="#3A78FC"></use></svg></div></div></div></div><p class="w-full mb-3 headline1" property="name"><a class="hover:no-underline headline1" href="https://www.answers.com/engineering/What_company_created_Java_script">What company created Java script<!-- -->?</a></p><div class="flex justify-between"><div class="flex m-1 items-center"><a><img class="avatar-h-20 avatar-img" alt="User Avatar" src="/images/avatars/default.png"/></a><a class="hover:no-underline " href="#"><p class="caption2 ml-1"> Asked by <span property="creator" class="text-primaryColor">Anonymous</span></p></a></div></div><div class="w-full body1"><div class="markdownStyles undefined" property="content"><p>Netscape. See related Wikipedia-link.</p></div></div><div class="w-full null"><div class="ml-auto"><button type="button" class="py-2 px-3 rounded-md flex items-center justify-center bg-tertiary text-secondaryLight caption3 undefined"><img alt="" class="ml-1 self-center" loading="eager" width="20" height="20" src="/icons/createIcon.svg"/><span class="text=-base">Answer</span></button></div></div></div></div><div class="flex w-full justify-between "><a class="flex items-center body1 h-9 rounded-md px-1 hover:bg-newGrey text-primaryColor" href="https://www.answers.com/t/Javascript?page=5" style="opacity:1">Previous</a><a class="flex items-center body1 h-9 rounded-md px-1 hover:bg-newGrey text-primaryColor" href="https://www.answers.com/t/Javascript?page=7" style="opacity:1">Next</a></div></div></div></div><div id="slot-after_main_content"></div><svg style="display:none"><defs><symbol id="bulleted-icon"><path d="M7 10h9V8H7v2zm0-7v2h9V3H7zm0 12h9v-2H7v2zm-4-5h2V8H3v2zm0-7v2h2V3H3zm0 12h2v-2H3v2z" fill="currentColor"></path></symbol><symbol id="numbered-icon"><path d="M2 13h2v.5H3v1h1v.5H2v1h3v-4H2v1zm0-5h1.8L2 10.1v.9h3v-1H3.2L5 7.9V7H2v1zm1-2h1V2H2v1h1v3zm4-3v2h9V3H7zm0 12h9v-2H7v2zm0-5h9V8H7v2z" fill="currentColor"></path></symbol><symbol id="settings-icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.1512 8.07692H20.2808C20.6781 8.07692 21 8.38346 21 8.76154V11.2381C21 11.6165 20.6781 11.9231 20.2812 11.9227H19.1516C18.9283 12.8362 18.5511 13.6931 18.0455 14.4662L18.8443 15.2269C19.1249 15.4942 19.1249 15.9281 18.8443 16.1954L17.0056 17.9465C16.7249 18.2138 16.2693 18.2138 15.9887 17.9465L15.1899 17.1858C14.3777 17.6677 13.4784 18.0269 12.5192 18.2392V19.315C12.5192 19.6935 12.1974 20 11.8004 20H9.20002C8.80263 20 8.48077 19.6935 8.48117 19.315V18.2392C7.52204 18.0269 6.62267 17.6673 5.81054 17.1858L5.01173 17.9465C4.73106 18.2138 4.27552 18.2138 3.99485 17.9465L2.15613 16.1954C1.87546 15.9281 1.87546 15.4946 2.15613 15.2269L2.95494 14.4665C2.44892 13.6931 2.07173 12.8365 1.84881 11.9231H0.71925C0.321865 11.9231 0 11.6165 0 11.2385V8.76192C0 8.38346 0.321865 8.07692 0.71925 8.07692H1.84881C2.07173 7.16346 2.44892 6.30692 2.95494 5.53385L2.15613 4.77308C1.87546 4.50577 1.87546 4.07192 2.15613 3.80462L3.99485 2.05346C4.27552 1.78615 4.73106 1.78615 5.01173 2.05346L5.81013 2.81423C6.62227 2.33231 7.52163 1.97308 8.48077 1.76077V0.685C8.48077 0.306539 8.80263 0 9.19961 0H11.8C12.1974 0 12.5192 0.306539 12.5192 0.685V1.76077C13.4784 1.97308 14.3777 2.33231 15.1895 2.81385L15.9883 2.05308C16.2689 1.78577 16.7245 1.78577 17.0052 2.05308L18.8439 3.80423C19.1245 4.07154 19.1245 4.50538 18.8439 4.77269L18.0451 5.53346C18.5511 6.30692 18.9283 7.16346 19.1512 8.07692ZM6.86541 10C6.86541 11.9116 8.4925 13.4616 10.5 13.4616C12.5075 13.4616 14.1346 11.9116 14.1346 10C14.1346 8.0881 12.5075 6.53849 10.5 6.53849C8.4925 6.53849 6.86541 8.0881 6.86541 10Z" fill="#E7ECED"></path></symbol><symbol id="settings-icon-secondary"><path fill-rule="evenodd" clip-rule="evenodd" d="M19.1512 8.07692H20.2808C20.6781 8.07692 21 8.38346 21 8.76154V11.2381C21 11.6165 20.6781 11.9231 20.2812 11.9227H19.1516C18.9283 12.8362 18.5511 13.6931 18.0455 14.4662L18.8443 15.2269C19.1249 15.4942 19.1249 15.9281 18.8443 16.1954L17.0056 17.9465C16.7249 18.2138 16.2693 18.2138 15.9887 17.9465L15.1899 17.1858C14.3777 17.6677 13.4784 18.0269 12.5192 18.2392V19.315C12.5192 19.6935 12.1974 20 11.8004 20H9.20002C8.80263 20 8.48077 19.6935 8.48117 19.315V18.2392C7.52204 18.0269 6.62267 17.6673 5.81054 17.1858L5.01173 17.9465C4.73106 18.2138 4.27552 18.2138 3.99485 17.9465L2.15613 16.1954C1.87546 15.9281 1.87546 15.4946 2.15613 15.2269L2.95494 14.4665C2.44892 13.6931 2.07173 12.8365 1.84881 11.9231H0.71925C0.321865 11.9231 0 11.6165 0 11.2385V8.76192C0 8.38346 0.321865 8.07692 0.71925 8.07692H1.84881C2.07173 7.16346 2.44892 6.30692 2.95494 5.53385L2.15613 4.77308C1.87546 4.50577 1.87546 4.07192 2.15613 3.80462L3.99485 2.05346C4.27552 1.78615 4.73106 1.78615 5.01173 2.05346L5.81013 2.81423C6.62227 2.33231 7.52163 1.97308 8.48077 1.76077V0.685C8.48077 0.306539 8.80263 0 9.19961 0H11.8C12.1974 0 12.5192 0.306539 12.5192 0.685V1.76077C13.4784 1.97308 14.3777 2.33231 15.1895 2.81385L15.9883 2.05308C16.2689 1.78577 16.7245 1.78577 17.0052 2.05308L18.8439 3.80423C19.1245 4.07154 19.1245 4.50538 18.8439 4.77269L18.0451 5.53346C18.5511 6.30692 18.9283 7.16346 19.1512 8.07692ZM6.86541 10C6.86541 11.9116 8.4925 13.4616 10.5 13.4616C12.5075 13.4616 14.1346 11.9116 14.1346 10C14.1346 8.0881 12.5075 6.53849 10.5 6.53849C8.4925 6.53849 6.86541 8.0881 6.86541 10Z" fill="#000"></path></symbol><symbol id="person-icon"><path fill="#fff" d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></symbol><symbol id="person-icon-secondary"><path fill="#000" d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"></path></symbol><symbol id="check-circle-icon"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" fill="#fff"></path></symbol><symbol id="down-arrow-white-icon"><path d="M2 1.5L9 8.5L16 1.5" stroke="white" stroke-width="3" fill="none"></path></symbol><symbol id="menu-dots"><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" fill="#3A78FC"></path></symbol><symbol id="back-icon"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z" fill="#B6BAC0"></path></symbol><symbol id="forward-arrow"><path d="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"></path></symbol><symbol id="apple-icon"><path style="transform:scale(0.03)" d="m 979.04184,925.18785 c -17.95397,41.47737 -39.20563,79.65705 -63.82824,114.75895 -33.56298,47.8528 -61.04356,80.9761 -82.22194,99.3698 -32.83013,30.192 -68.00529,45.6544 -105.67203,46.5338 -27.04089,0 -59.6512,-7.6946 -97.61105,-23.3035 -38.08442,-15.5358 -73.08371,-23.2303 -105.08578,-23.2303 -33.56296,0 -69.55888,7.6945 -108.06101,23.2303 -38.5608,15.6089 -69.62484,23.7432 -93.37541,24.5493 -36.12049,1.5389 -72.1237,-14.3632 -108.06101,-47.7796 -22.93711,-20.0059 -51.62684,-54.3017 -85.99592,-102.8874 C 92.254176,984.54592 61.937588,924.38175 38.187028,855.7902 12.750995,781.70252 0,709.95986 0,640.50361 0,560.94181 17.191859,492.32094 51.626869,434.81688 78.689754,388.62753 114.69299,352.19192 159.75381,325.44413 c 45.06086,-26.74775 93.74914,-40.37812 146.18212,-41.25019 28.68971,0 66.3125,8.8744 113.06613,26.31542 46.62174,17.49964 76.55727,26.37404 89.68198,26.37404 9.8124,0 43.06758,-10.37669 99.4431,-31.06405 53.31237,-19.18512 98.30724,-27.12887 135.16787,-23.99975 99.8828,8.06098 174.92313,47.43518 224.82789,118.37174 -89.33023,54.12578 -133.51903,129.93556 -132.63966,227.18753 0.8061,75.75115 28.28668,138.78795 82.2952,188.8393 24.47603,23.23022 51.81008,41.18421 82.22186,53.93522 -6.59525,19.12648 -13.557,37.44688 -20.95846,55.03446 z M 749.96366,23.751237 c 0,59.37343 -21.69138,114.810233 -64.92748,166.121963 -52.17652,60.99961 -115.28658,96.24803 -183.72426,90.68597 -0.87204,-7.12298 -1.37769,-14.61967 -1.37769,-22.49743 0,-56.99843 24.81315,-117.99801 68.87738,-167.873453 21.99909,-25.25281 49.978,-46.25018 83.90738,-63.00018 C 686.57507,10.688027 718.59913,1.5631274 748.71783,5.2734376e-4 749.59727,7.9378274 749.96366,15.875627 749.96366,23.750467 Z" fill="#fff"></path></symbol><symbol id="facebook-icon-white"><path d="M17.525,9H14V7c0-1.032,0.084-1.682,1.563-1.682h1.868v-3.18C16.522,2.044,15.608,1.998,14.693,2 C11.98,2,10,3.657,10,6.699V9H7v4l3-0.001V22h4v-9.003l3.066-0.001L17.525,9z" fill="#fff"></path></symbol><symbol id="adv-config"><line x1="0.75" y1="2.58331" x2="18.8991" y2="2.58331" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></line><line x1="0.75" y1="9.13306" x2="18.8991" y2="9.13306" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></line><line x1="0.75" y1="15.6828" x2="18.8991" y2="15.6828" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></line><rect x="4.24268" y="0.5" width="3.67836" height="3.67836" rx="0.5" fill="currentColor" stroke="currentColor"></rect><rect x="10.7925" y="7.04968" width="3.67836" height="3.67836" rx="0.5" fill="currentColor" stroke="currentColor"></rect><rect x="3.30713" y="13.5994" width="3.67836" height="3.67836" rx="0.5" fill="currentColor" stroke="currentColor"></rect></symbol><symbol id="close-x-icon"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.21094 4.79143L1.41951 0L0.210938 1.20857L5.00237 5.99914L0.210938 10.7906L1.41951 12L6.21094 7.20857L11.0024 12L12.2109 10.7906L7.41951 5.99914L12.2109 1.20857L11.0024 0L6.21094 4.79143Z" fill="#8E8E93"></path></symbol><symbol id="arrow-icon"><path d="M14.3622 1.32065C15.246 2.13933 15.2468 3.53689 14.3638 4.35653L6.11066 12.0177L14.3638 19.6789C15.2468 20.4985 15.246 21.8961 14.3622 22.7147C13.5684 23.4499 12.3425 23.4499 11.5488 22.7147L0.934126 12.8829C0.4302 12.4162 0.430201 11.6192 0.934127 11.1525L11.5488 1.32065C12.3425 0.585476 13.5685 0.585476 14.3622 1.32065Z" fill="currentColor"></path></symbol><symbol id="modal-close-icon"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" fill="#B6BAC0"></path></symbol></defs></svg></div></div> <section class="mx-auto max-app-width mt-8 mb-8"> <div class="bg-white rounded-md p-4 shadow-cardGlow" data-module="trending-questions"> <div class='headline1 mb-2'>Trending Questions </div> <a href= https://www.answers.com/engineering/Why_do_Sharan_windows_open_by_itself class="flex flex-col py-4 border-t-2 border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">Why do Sharan windows open by itself?</a> <a href= https://www.answers.com/engineering/What_are_the_tools_needed_to_create_JavaScript class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">What are the tools needed to create JavaScript?</a> <a href= https://www.answers.com/engineering/What_is_running_java_script_terminate_command class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">What is running java script terminate command?</a> <a href= https://www.answers.com/engineering/To_Write_program_in_Java_to_create_applets_to_Create_a_color_palette_with_matrix_of_buttons_using_applet_viewer class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">To Write program in Java to create applets to Create a color palette with matrix of buttons using applet viewer?</a> <a href= https://www.answers.com/engineering/What_is_a_debugger class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">What is a debugger?</a> <a href= https://www.answers.com/computers/How_do_you_install_a_220_plug class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">How do you install a 220 plug?</a> <a href= https://www.answers.com/engineering/Why_does_java_script_support_more_than_one_type_of_loop class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">Why does java script support more than one type of loop?</a> <a href= https://www.answers.com/engineering/Is_javascript_sequential class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">Is javascript sequential?</a> <a href= https://www.answers.com/engineering/Does_Danny_O%27Donaghue_from_the_script_smoke class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">Does Danny O'Donaghue from the script smoke?</a> <a href= https://www.answers.com/engineering/When_developing_a_script_why_is_it_necessary_to_iterate_the_script_multiple_times class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">When developing a script why is it necessary to iterate the script multiple times?</a> <a href= https://www.answers.com/engineering/Is_there_a_Minecraft_launcher_by_AnjoCaido_that_runs_64_bit_java class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">Is there a Minecraft launcher by AnjoCaido that runs 64 bit java?</a> <a href= https://www.answers.com/engineering/What_set_of_frameworks_or_libraries_would_you_use_for_creating_an_Ajax_web_application class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">What set of frameworks or libraries would you use for creating an Ajax web application?</a> <a href= https://www.answers.com/engineering/How_do_you_synchronize_java class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">How do you synchronize java?</a> <a href= https://www.answers.com/engineering/What_type_of_java_used_in_java_enable_phone class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">What type of java used in java enable phone?</a> <a href= https://www.answers.com/engineering/Why_AI_uses_AIML_instead_of_XML class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">Why AI uses AIML instead of XML?</a> <a href= https://www.answers.com/engineering/What_timing_patterns_are_used_in_advertising class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">What timing patterns are used in advertising?</a> <a href= https://www.answers.com/mammals/When_the_post_method_is_used_to_submit_a_form_the_name_portion_of_the_name_or_value_pair_becomes_the_value_assigned_to_the_array_element class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">When the post method is used to submit a form the name portion of the name or value pair becomes the value assigned to the array element?</a> <a href= https://www.answers.com/engineering/How_can_you_add_a_comment_in_a_JavaScript class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">How can you add a comment in a JavaScript?</a> <a href= https://www.answers.com/engineering/How_to_write_an_if_statement_in_javascript class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">How to write an if statement in javascript?</a> <a href= https://www.answers.com/telecommunications/How_do_you_enable_JavaScript_on_your_cell_phone class="flex flex-col py-4 border-t border-charcoal border-opacity-30 border-solid cursor-pointer no-underline headline2 mb-2 break-words">How do you enable JavaScript on your cell phone?</a> </div> </section> </div> <div class='mt-16 md:block hidden space-y-4'> <div id="right-rail"></div> </div> </div> <div class="m-16 mb-4"></div> <div id="answ-footer" class="col bg-primaryText text-white p-4 pt-8 pb-16 md:pr-16" data-gtm="Footer"> <div class="max-app-width"> <div class="grid md:grid-cols-4 grid-cols-2 md:pl-8 pl-4"> <div class="md:col-span-1 flex flex-col min-w-max" data-gtm="Resources"> <h2 class="headline2 text-white">Resources</h2> <a class="footer-link" href="https://www.answers.com/leaderboard"> Leaderboard </a> <a class="footer-link" href="https://www.answers.com/tags"> All Tags </a> <a class="footer-link" href="https://www.answers.com/group/unanswered"> Unanswered </a> </div> <div class="md:col-span-1 flex flex-col" data-gtm="Top Categories"> <h2 class="headline2 text-white">Top Categories</h2> <a href="https://www.answers.com/algebra" class="footer-link">Algebra</a> <a href="https://www.answers.com/chemistry" class="footer-link">Chemistry</a> <a href="https://www.answers.com/biology" class="footer-link">Biology</a> <a href="https://www.answers.com/world-history" class="footer-link">World History</a> <a href="https://www.answers.com/english-language-arts" class="footer-link">English Language Arts</a> <a href="https://www.answers.com/psychology" class="footer-link">Psychology</a> <a href="https://www.answers.com/computer-science" class="footer-link">Computer Science</a> <a href="https://www.answers.com/economics" class="footer-link">Economics</a> </div> <div class="col-span-1 flex flex-col md:mt-0 mt-4" data-gtm="Product"> <h2 class="headline2 text-white">Product</h2> <a href="https://www.answers.com/pages/answers-community-guidelines" class="footer-link">Community Guidelines</a> <a href="https://www.answers.com/pages/honor-code" class="footer-link">Honor Code</a> <a href="https://www.answers.com/pages/flashcard-maker" class="footer-link">Flashcard Maker</a> <a href="https://www.answers.com/pages/study-guides" class="footer-link">Study Guides</a> <a href="https://www.answers.com/pages/math-solver" class="footer-link">Math Solver</a> <a href="https://www.answers.com/pages/faq" class="footer-link">FAQ</a> </div> <div class="col-span-1 flex flex-col md:mt-0 mt-4" data-gtm="Company"> <h2 class="headline2 text-white">Company</h2> <a href="https://www.answers.com/pages/about-us" class="footer-link">About Us</a> <a href="https://www.answers.com/pages/contact-us" class="footer-link">Contact Us</a> <a href="https://www.answers.com/pages/terms-of-service" class="footer-link">Terms of Service</a> <a href="https://www.answers.com/pages/privacy-policy" class="footer-link">Privacy Policy</a> <a href="https://www.answers.com/pages/disclaimer" class="footer-link">Disclaimer</a> <a href="https://www.answers.com/pages/cookie-policy" class="footer-link">Cookie Policy</a> <a href="https://www.answers.com/pages/copyright" class="footer-link">IP Issues</a> </div> </div> <div class="items-center mt-4" data-gtm="Social"> <a href="/" alt="home"><img class="m-auto" alt="Answers Logo" src="https://st.answers.com/logos/logo-answers-white.png" loading="lazy"/></a> <div class="flex ml-auto mt-4 justify-center"> <a class="text-white" rel="noopener" href="https://www.facebook.com/joinanswers/"><svg class="w-8 fill-current" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation"><path d="M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z"></path></svg></a> <a class="ml-4 text-white" rel="noopener" href="https://twitter.com/joinanswers"><svg class="w-8 fill-current" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation"><path d="M22.46 6c-.77.35-1.6.58-2.46.69.88-.53 1.56-1.37 1.88-2.38-.83.5-1.75.85-2.72 1.05C18.37 4.5 17.26 4 16 4c-2.35 0-4.27 1.92-4.27 4.29 0 .34.04.67.11.98C8.28 9.09 5.11 7.38 3 4.79c-.37.63-.58 1.37-.58 2.15 0 1.49.75 2.81 1.91 3.56-.71 0-1.37-.2-1.95-.5v.03c0 2.08 1.48 3.82 3.44 4.21a4.22 4.22 0 0 1-1.93.07 4.28 4.28 0 0 0 4 2.98 8.521 8.521 0 0 1-5.33 1.84c-.34 0-.68-.02-1.02-.06C3.44 20.29 5.7 21 8.12 21 16 21 20.33 14.46 20.33 8.79c0-.19 0-.37-.01-.56.84-.6 1.56-1.36 2.14-2.23z"></path></svg></a> <a class="ml-4 text-white self-center" rel="noopener" href="https://www.instagram.com/joinanswers/"><svg width="24" height="24" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M20.3239 10.5C20.3239 4.97656 15.8474 0.5 10.3239 0.5C4.80048 0.5 0.323914 4.97656 0.323914 10.5C0.323914 16.0234 4.80048 20.5 10.3239 20.5C10.3825 20.5 10.4411 20.5 10.4997 20.4961V12.7148H8.35126V10.2109H10.4997V8.36719C10.4997 6.23047 11.8044 5.06641 13.7106 5.06641C14.6247 5.06641 15.4099 5.13281 15.6364 5.16406V7.39844H14.3239C13.2888 7.39844 13.0856 7.89062 13.0856 8.61328V10.207H15.5661L15.2419 12.7109H13.0856V20.1133C17.2653 18.9141 20.3239 15.0664 20.3239 10.5Z" fill="#2E3C57"/> <path d="M1.65718 1.90472C0.0946654 3.52771 0.414458 5.25177 0.414458 10.4894C0.414458 14.8389 -0.344428 19.1992 3.6273 20.2257C4.86753 20.5447 15.8565 20.5447 17.0951 20.224C18.7487 19.7974 20.0941 18.4561 20.2781 16.1173C20.3038 15.7909 20.3038 5.19378 20.2772 4.86073C20.0817 2.3695 18.5482 0.933742 16.5275 0.642946C16.0644 0.57584 15.9716 0.555956 13.5956 0.551814C5.16744 0.555956 3.31993 0.180655 1.65718 1.90472Z" fill="white"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M10.3546 3.15235C10.1114 3.15235 9.86923 3.1506 9.62888 3.14886C6.89608 3.12913 4.40159 3.11112 3.39869 5.68501C3.00046 6.70693 3.0052 7.99858 3.0117 9.76914C3.01256 10.0024 3.01345 10.244 3.01345 10.4943C3.01345 10.6977 3.01275 10.8998 3.01205 11.0999C3.00629 12.7566 3.001 14.279 3.39869 15.3028C4.39921 17.878 6.91273 17.8596 9.63102 17.8398C9.87037 17.8381 10.1113 17.8363 10.3529 17.8363C10.6052 17.8363 10.8581 17.8386 11.1104 17.8409H11.1105H11.1105H11.1105C13.7394 17.8648 16.3004 17.8881 17.308 15.3028C17.7065 14.272 17.7017 12.9986 17.6951 11.2287V11.2287C17.6942 10.9929 17.6933 10.7483 17.6933 10.4943C17.6933 10.2199 17.6947 9.95469 17.6961 9.69835V9.69817V9.698V9.69784C17.7094 7.27574 17.7183 5.64136 16.4605 4.3843C15.1978 3.12158 13.5362 3.1328 11.1909 3.14863C10.9203 3.15046 10.6405 3.15235 10.3513 3.15235H10.3546ZM9.69679 4.47543C10.1141 4.47477 10.5071 4.47107 10.8772 4.46758C16.0724 4.41865 16.741 4.41235 16.3296 13.4586C16.1874 16.5707 14.0228 16.5469 11.2243 16.5162H11.2242H11.2242H11.2242C10.9406 16.5131 10.6506 16.5099 10.3554 16.5099C4.50637 16.5099 4.33819 16.3426 4.33819 10.491C4.33819 4.57153 4.80214 4.47874 9.69679 4.47377V4.47543ZM13.3926 6.5748C13.3926 6.08848 13.787 5.69413 14.2733 5.69413C14.7596 5.69413 15.154 6.08848 15.154 6.5748C15.154 7.06112 14.7596 7.45547 14.2733 7.45547C13.787 7.45547 13.3926 7.06112 13.3926 6.5748ZM10.3546 6.72392C8.27264 6.72392 6.58503 8.41236 6.58503 10.4943C6.58503 12.5763 8.27264 14.2639 10.3546 14.2639C12.4366 14.2639 14.1234 12.5763 14.1234 10.4943C14.1234 8.41236 12.4366 6.72392 10.3546 6.72392ZM10.3546 8.047C13.5898 8.047 13.5939 12.9417 10.3546 12.9417C7.12021 12.9417 7.11524 8.047 10.3546 8.047Z" fill="#2E3C57"/> </svg> </a> <a class="ml-4 text-white" rel="noopener" href="https://www.youtube.com/c/AnswersVideo"><svg class="w-8 fill-current" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation"><path d="M10 15l5.19-3L10 9v6m11.56-7.83c.13.47.22 1.1.28 1.9.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83-.25.9-.83 1.48-1.73 1.73-.47.13-1.33.22-2.65.28-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44-.9-.25-1.48-.83-1.73-1.73-.13-.47-.22-1.1-.28-1.9-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83.25-.9.83-1.48 1.73-1.73.47-.13 1.33-.22 2.65-.28 1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44.9.25 1.48.83 1.73 1.73z"></path></svg></a> <a class="ml-4 text-white" rel="noopener" href="https://www.pinterest.com/joinanswers/"><svg class="w-8 fill-current" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation"><path d="M10.2717 0.5C4.78917 0.500833 1.875 4.01333 1.875 7.84333C1.875 9.61917 2.8675 11.835 4.45667 12.5375C4.91 12.7417 4.85 12.4925 5.24 11.0008C5.27083 10.8767 5.255 10.7692 5.155 10.6533C2.88333 8.02583 4.71167 2.62417 9.9475 2.62417C17.525 2.62417 16.1092 13.1092 11.2658 13.1092C10.0175 13.1092 9.0875 12.1292 9.38167 10.9167C9.73833 9.4725 10.4367 7.92 10.4367 6.87917C10.4367 4.25583 6.52833 4.645 6.52833 8.12083C6.52833 9.195 6.90833 9.92 6.90833 9.92C6.90833 9.92 5.65083 15 5.4175 15.9492C5.0225 17.5558 5.47083 20.1567 5.51 20.3808C5.53417 20.5042 5.6725 20.5433 5.75 20.4417C5.87417 20.2792 7.39417 18.1108 7.82 16.5433C7.975 15.9725 8.61083 13.6558 8.61083 13.6558C9.03 14.4125 10.2383 15.0458 11.5258 15.0458C15.3558 15.0458 18.1242 11.6792 18.1242 7.50167C18.1108 3.49667 14.6833 0.5 10.2717 0.5V0.5Z"/></svg></a> <a class="ml-4 text-white" rel="noopener" href="https://www.tiktok.com/@joinanswers"><svg class="w-8 fill-current" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="presentation"><path d="M18.7626 5.51526C17.6212 5.51526 16.5681 5.13713 15.7224 4.49924C14.7524 3.76799 14.0556 2.69534 13.8095 1.45901C13.7485 1.15354 13.7157 0.838306 13.7126 0.515259H10.452V9.42463L10.4481 14.3047C10.4481 15.6094 9.59853 16.7156 8.42079 17.1047C8.079 17.2176 7.70986 17.2711 7.32548 17.25C6.83486 17.2231 6.37509 17.075 5.97548 16.836C5.12509 16.3274 4.54853 15.4047 4.5329 14.3492C4.50829 12.6996 5.84189 11.3547 7.49032 11.3547C7.81571 11.3547 8.12822 11.4078 8.42079 11.5043V9.06917V8.19377C8.1122 8.14807 7.79814 8.12424 7.48056 8.12424C5.67626 8.12424 3.98876 8.87424 2.78251 10.2254C1.87079 11.2465 1.32392 12.5492 1.23954 13.9153C1.129 15.7098 1.78564 17.4156 3.05907 18.6742C3.24618 18.859 3.44267 19.0305 3.64814 19.1887C4.73993 20.0289 6.0747 20.4844 7.48056 20.4844C7.79814 20.4844 8.1122 20.461 8.42079 20.4153C9.73407 20.2207 10.9458 19.6196 11.902 18.6742C13.077 17.5129 13.7263 15.9711 13.7333 14.3301L13.7165 7.0426C14.277 7.47502 14.8899 7.83284 15.5477 8.11057C16.5708 8.54221 17.6556 8.76096 18.772 8.76057V6.39299V5.51448C18.7727 5.51526 18.7634 5.51526 18.7626 5.51526Z"/></svg></a> </div> </div> <div class="m-auto max-w-lg text-center caption2 text-white mt-4"> Copyright ©2025 Answers.com. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Answers. </div> <div class="m-auto max-w-lg text-center caption2 text-white mt-4" id="choice-footer-msg"></div> </div> </div> <div class='w-full fixed left-0 bottom-0 z-10'> </div> </div> <script id="__LOADABLE_REQUIRED_CHUNKS__" type="application/json">[]</script><script id="__LOADABLE_REQUIRED_CHUNKS___ext" type="application/json">{"namedChunks":["SearchInput"]}</script> <script async data-chunk="topic" src="/js/manifest.566e88f5292948ac53e0.js"></script> <script async data-chunk="topic" src="/js/react.cec56ed0399ca770acfc.js"></script> <script async data-chunk="topic" src="/js/vendor.ba94fb1ac3f2534bb8ab.js"></script> <script async data-chunk="topic" src="/js/359.45b24a83e5b2fb521eca.js"></script> <script async data-chunk="topic" src="/js/2413.f5b110a49aca7744e7a5.js"></script> <script async data-chunk="topic" src="/js/8380.bd6f93e85d70419f1785.js"></script> <script async data-chunk="topic" src="/js/1916.de0b5e7ee3fb99aea3c4.js"></script> <script async data-chunk="topic" src="/js/979.0d50a17c406315d991a2.js"></script> <script async data-chunk="topic" src="/js/topic.4234429d9d3608e3a61c.js"></script> <script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"beacon":"bam.nr-data.net","licenseKey":"NRJS-1a55c79a27a4c4c26fa","applicationID":"691872119","transactionName":"YFADZ0RZDEAFAkIMDlkaIFBCUQ1dSxVZFQhU","queueTime":0,"applicationTime":528,"atts":"TBcUEQxDHx9GABRfGkpI","errorBeacon":"bam.nr-data.net","agent":""}</script></body> </html>