logo
Search:

Login:


Forgot Details? Sign-up

forum >> Programming questions >> HTML / XHTML / HTML5 / CSS

I actually wrote code that worked!

Posted Apr 04 2012 at 12:30 PM by
Pete Woodhead (petewdhd)
As I've mentioned, I've been struggling with JavaScript. Using the example from the book backgroundColors.html, Book IV Chap. 5. I added an additional function which changes the font color to white when the background changes to blue. I couldn't be happier with myself. I tested it and it does work, but I'd like to post it so someone can say, yes that is correct, or if it isn't, let me know what needs to be done differently. Not sure how to do that and not have it disappear, because of the XHTML. I tried a couple things, but with no success.
Thanks,
Pete
AuthorMessage
Andy
Posted: Apr 04 2012 kl. 10:23 PM

Do you have a web server of some sort?

If so, just put it there and provide a link in the showcase forum.

If you don't have a server yet, just send me the code as an attachment to my normal email address and I'll post it for you so you can see it working on the big wonderful www.