Can JavaScript be overused?
Posted
by
ledhed2222
on Stack Overflow
See other posts from Stack Overflow
or by ledhed2222
Published on 2011-01-08T22:51:14Z
Indexed on
2011/01/08
22:53 UTC
Read the original article
Hit count: 143
Hello stackoverflow,
I'm a "long time reader first time poster", glad to start participating in this forum.
My experience is with Java, Python, and several audio programming languages; I'm quite new to the big bad web technologies: HTML/CSS/JavaScript. I'm making two personal sites right now and am wondering if I'm relying on JavaScript too much.
I'm making a site where all pages have a bit of markup in common--stuff like the nav bar and some sliced background images--so I thought I'd make a pageInit() function to insert the majority of the HTML for me. This way if I make a change later, I just change the script rather than all the pages. I figure if users are paranoid enough to have JavaScript turned off, I'll give them an alert or something. Is this bad practice? Can JavaScript be overused?
Thanks in advance.
© Stack Overflow or respective owner