davej Posted March 20, 2013 Share Posted March 20, 2013 (edited) Might be nice if each tutorial ended with some practical boilerplate code, or maybe that would be included in the reference section? As an example of what annoys me the W3Schools Javascript tutorial encourages the use of inline Javascript mixed right into the HTML -- but a proper boilerplate example could demonstrate that no mixing is necessary. --edit Also document.write() is used repeatedly in the tutorial. Is this really a good idea? It is not allowed in XHTML yet this is not mentioned here: http://www.w3schools.com/html/html_xhtml.asp Also this XHTML intro neglects to mention the need for CDATA commenting of the script section. --edit Also Javascript is very commonly used for input validation -- but although W3Schools has dozens of Javascript examples I could not find any good example of input validation.[correction: I did find this: http://www.w3schools.com/js/js_form_validation.asp ] Edited May 31, 2013 by davej Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now