TriStateTuners.com :: Home of Tristate Auto Enthusiast  

Go Back TriStateTuners.com :: Home of Tristate Auto Enthusiast > Community > Off-Topic
Register Rules & Info

Notices

Reply
 
Thread Tools Display Modes
Old 02-11-2010, 02:37 PM   #1
STiGuy06
Tri-State Addict
 
STiGuy06's Avatar
 
Join Date: Oct 2009
Member #14844

 
iTrader: (0)
Send a message via AIM to STiGuy06
javascript homework help

I just started doing web design and i'm a bit lost haha.

I need help with #5a+b It's due tonight at midnight.



Here's the instructions








Here's the code they gave for home.htm.......


<html>
<head>
<!--
New Perspectives on JavaScript
Tutorial 4
Case Problem 2

The Home Center
Author: Josh Story
Date: 2/7/2010

Filename: home.htm
Supporting files: logo.jpg, random.js, styles.css, tips.js, work.jpg
-->
<title>The Home Center</title>
<link href="styles.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="tips.js"></script>
<script type="text/javascript" src="random.js"></script> ............I PUT THESE IN FOR #4...........

</head>

<body>

<div id="searchbox">
Search <input size="20" />
</div>

<div id="links">
<img src="logo.jpg" alt="the Home Center" />
<ul>
<li><a href="#">Home</a></li>
<li class="new"><a href="#">What's New</a></li>
<li><a href="#">Home Projects</a></li>
<li><a href="#">E-Newsletter</a></li>
<li><a href="#">FAQ</a></li>
<li class="new"><a href="#">Online Store</a></li>
<li><a href="#">Product Search</a></li>
<li class="new"><a href="#">Forums</a></li>
<li><a href="#">Our Partners</a></li>
<li><a href="#">Contact Us!</a></li>
<li><a href="#">About the Home Center</a></li>
</ul>
</div>

<div id="main">
<div id="tip">
<h1>Random Tip<br />
Tip Title
</h1>
Place random tip text here in this box.
</div>

<p id="firstp"><b>The Home Center</b> is your number one source for do it yourself home
improvement help with tutorials and tips on all your home repairs, remodeling,
and redecorating. Our goal is to make your projects easy, inexpensive, and
rewarding. Nothing matches the satisfaction of a job well done.</p>
<p>You will find step-by-step instruction and money-saving tips on all your
do-it-yourself projects including house painting, wallpaper, carpentry, home
insulation, woodworking, electrical, plumbing, air conditioning and heating,
flooring, masonry, concrete, wood decks, interior decorating, gardening,
how to save energy, reduce your utility bills, and more.</p>
<p>Be sure to visit our online store for great prices on the tools and
materials you need for your home repair projects!</p>

</div>

</body>
</html>
__________________
Josh Story Design
STiGuy06 is offline   Reply With Quote
Old 02-11-2010, 02:39 PM   #2
Scapegoat
TST Ruined My Life!
 
Scapegoat's Avatar
 
Join Date: Dec 2005
Location: stop looking at my gold
Member #1208

 
iTrader: (1)
jquery.com
Scapegoat is offline   Reply With Quote
Old 02-11-2010, 02:41 PM   #3
STiGuy06
Tri-State Addict
 
STiGuy06's Avatar
 
Join Date: Oct 2009
Member #14844

 
iTrader: (0)
Send a message via AIM to STiGuy06
In between the div id "Tip", do i put this?

<script type=text/javascript">
document.write(tipTitle))
document.write(tipText))
</script>

and delete the H1 stuff and the text under it? I'm completely lost lol
__________________
Josh Story Design
STiGuy06 is offline   Reply With Quote
Old 02-11-2010, 03:36 PM   #4
Scapegoat
TST Ruined My Life!
 
Scapegoat's Avatar
 
Join Date: Dec 2005
Location: stop looking at my gold
Member #1208

 
iTrader: (1)
no idea, i'm not ready that
Scapegoat is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Homework Help needed (MS Excel) Jjaeger240 Off-Topic 4 03-06-2008 09:14 PM
Help with my homework? dragonfly2k3 General Car Related Chat 7 02-23-2008 05:44 AM
If anyone is up help me with my Philosophy Homework!!! maximaserg Off-Topic 17 02-17-2008 01:55 AM


All times are GMT -4. The time now is 01:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.