Saturday
December 20, 2014

Homework Help: Javascript

Posted by Anonymous on Wednesday, November 17, 2010 at 2:10pm.

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>

<script language="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

Computer Science-Javascript - Can you check my code and tell me why the prompts ...
computer programming (PYTHON) - My first page is <html> <head> <...
computer programming (PYTHON) - My first page is <html> <head> <...
English - 1. What is the name for the head of an orphanage? 2. What is the name ...
Javascript - How do take this following javascript and put in external ...
Literature - Do you think the title "Huswifery" is a good title for Edward ...
Title - Hi I need help thinking of a title for my graphic novel. It is about ...
English - The following questions are for APA 6th Edition standards: 1. Each ...
Computer Science - MATLAB - In a problem I had to create a animation of the ...
English- I need the title - I have a poem : "When the dark Of a Spring ...

Search
Members