Thread: Chapter 1
View Single Post
  #3 (permalink)  
Old October 22nd, 2009, 09:24 PM
ClintW ClintW is offline
Registered User
 
Join Date: Oct 2009
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default stumbling at same point, but with different results

Hi jmcpeak and jmpierson.

I am totally new to this and can't get the red page either. My original code is as follows--
HTML Code:
<html>
<body BGCOLOR="WHITE">
<p>Paragraph 1</p>
<script type="text/javascript">
      document.bgColor = "RED";
</script>
</body>
</html>
But I tried the suggestion of
HTML Code:
<body> BGCOLOR="WHITE">
both times I got the same results, The browser page opened and simply had all of my code for me to read plain as day.

jmcpeak, You say that javascript is unforgiving, but does the caps or lowercase make a difference? The books has the code all in caps whereas you write in lower case. would this make a difference?

I am on a Mac, but was told that this wouldn't make a difference. Any ideas??
Reply With Quote