Thursday
April 2, 2015

Homework Help: Computer Science-Javascript

Posted by Anonymous on Tuesday, November 16, 2010 at 3:15pm.

Can you check my code and tell me why the prompts are not showing up on the webpage:


<html>
<Head>
<title>Homework 8</title>
</Head>



<body>
I like the color purple.<br>


</br>

<scriptlanguage="javascript" type="text/javascript">
<!--


color=prompt("Choose a color (red, yellow, blue, purple, orange, green):");



text=prompt(("Choose a color (red, yellow, blue, purple, orange, green):");



link=prompt("Choose a color (red, yellow, blue, purple, orange, green, pink):");



vlink=("Choose a color (red, yellow, blue, purple, orange, green, pink):");



document.bgcolor=color;

document.fgcolor=text;

document.linkcolor=link

document.vlinkcolor=vlink



//-->
</script>

Answer this Question

First Name:
School Subject:
Answer:

Related Questions

Javascript - Can you check my code and tell me why the prompts are not showing ...
Javascript - How do take this following javascript and put in external ...
computer programming (PYTHON) - My first page is <html> <head> <...
computer programming (PYTHON) - My first page is <html> <head> <...
computers-html/javascript - when working in notepad, i need to use pop-up boxes...
JavaScript - I'm working on a javascript exercise. I have written function ...
Javascript - I need help these javascript exericses: Input: A text string, using...
JavaScript - I need help these javascript exericses: Input: A text string, using...
Web application development JSP - Below is the following jsp code for a homework...
English - 1. What is the name for the head of an orphanage? 2. What is the name ...

Members