用于实际 javascript 练习的资源
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5631716/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
resource for practical javascript exercise
提问by karthik
I am beginner to webprogramming & Javascript. I have went through few tutorials and learned the basics. Could someone suggest me the best resource with practical exercise with solutions.
我是网络编程和 Javascript 的初学者。我经历了一些教程并学习了基础知识。有人可以向我推荐带有解决方案的实践练习的最佳资源。
I found "pagetutor.com" which has practical javascript exercises, but it's paid! Please suggest any paid sites too which is really worth for practical learning.
我找到了“pagetutor.com”,它有实用的 javascript 练习,但它是付费的!请推荐任何付费网站,这确实值得实践学习。
采纳答案by intuited
- Eloquent JavaScriptis an "interactive tutorial" that embeds an editor directly into its pages, enabling you to test and experiment with its many examples.
- Learning Advanced JavaScriptprovides a series of examples intended to enable the learner to understand Prototype.js's
.bind
method. Examples can be edited to allow the reader to experiment with them.
- Eloquent JavaScript是一个“交互式教程”,它将编辑器直接嵌入到其页面中,使您能够测试和试验它的许多示例。
- 学习高级 JavaScript提供了一系列示例,旨在使学习者能够理解 Prototype.js 的
.bind
方法。可以编辑示例以允许读者进行实验。
Admittedly, neither of these options actually provide an answer to the question, as they are not really "exercises" so much as interactive tutorials. But they may be of some value nonetheless.
诚然,这两个选项实际上都没有提供问题的答案,因为它们并不是真正的“练习”,而是交互式教程。但它们可能仍然具有一定的价值。
回答by Per H
I would have to say that http://javascript.crockford.com/is one of the most important resources when learning (correct) JavaScript. Perhaps not as the first stop, but definitely when you've gotten the hang of the basics.
我不得不说http://javascript.crockford.com/是学习(正确)JavaScript 时最重要的资源之一。也许不是第一站,但绝对是当您掌握了基础知识时。
回答by suhair
This online free eloquent javascript bookis awesome. But not much practical exercises.
这本在线免费的雄辩的 javascript 书很棒。但实际练习不多。
回答by Filip Krstic
I learned that from books. Basics: W3schools javaScript
我是从书本上学到的。基础知识:W3schools javaScript
For advanced I suggest these books: Advanced JavaScript(TM), Third EditionPro JavaScript Techniques
对于高级我推荐这些书: Advanced JavaScript(TM), Third Edition Pro JavaScript Techniques
Professional JavaScript for Web Developers (Wrox Programmer to Programmer)
面向 Web 开发人员的专业 JavaScript(Wrox 程序员到程序员)
Books are cheap :)
书很便宜:)
Also I bought W3Schools books about HTML, JavaScript and CSS and I like it :)
我还买了 W3Schools 的关于 HTML、JavaScript 和 CSS 的书籍,我喜欢它 :)
回答by user847988
One great source is : Code academy. You are learning javascript by writing code step by step and solving small exercises.
一个很好的来源是:代码学院。您正在通过逐步编写代码和解决小练习来学习 javascript。
回答by Headshota
you could try http://www.w3schools.com/js/default.asp. it's a very basic intro to the language.
你可以试试http://www.w3schools.com/js/default.asp。这是该语言的一个非常基本的介绍。
Also I would recommend JavaScript: The Definitive Guide
我也推荐JavaScript: The Definitive Guide
very nice book, describes the language in details.
非常好的一本书,详细介绍了语言。
Also Douglas Crockford's JavaScript: The Good Parts
还有道格拉斯·克罗克福德 (Douglas Crockford) 的JavaScript: The Good Parts
And probably some good blogs:
可能还有一些不错的博客:
http://www.catswhocode.com/blog/
http://www.catswhocode.com/blog/
for exercise I would recommend jsFiddle
对于锻炼,我会推荐jsFiddle