Jump to content

Recommended Posts

Posted

So, I know there are no stupid questions but for me, a student who has been in web design class for about a year and a half, I feel stupid for having this problem...

 

I'm building a mock up for one of my final projects. I think I might have done something out of order (dunno if that is possible heh).

I started my code, linked to external css, then I added in my background image, went "OH yea! java script codes!" and put my java scripts at the bottom of the code just before the closing body tag.

As soon as I did that, my background image stopped showing up. I checked it is still in the code but it is almost like my java script isn't letting it show.

 

Did I do something wrong? Is there a way to get my background image to show again?

I have been trying to figure it out for about a day now, and finally decided I needed to ask someone for help.

Posted

It helps if we can see the code.

 

To troubleshoot - take the JS out again and see if it comes back - to make sure you didn't accidentally goof something up that has nothing to do with JavaScript.

 

But without seeing what's going on, it's just a guess.

Posted

You might have messed up the tags while inserting the JS. Why not put it at the top before the body, more logical and might be part of the issue as the page is read top down.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...