官术网_书友最值得收藏!

Summary

There you have it. We now have our first HTML5 application under our belts. A tasklist where we can add, remove, and edit tasks. The tasks are persisted, so that when the user returns to the application they can continue from where they left off. We covered the following concepts in this chapter:

  • We learned the basics of building an HTML5 application and its three components, HTML, CSS, and JS
  • We created an application template to help us get new applications started quickly
  • We learned how to use jQuery to access and manipulate the DOM
  • We learned how to initialize a web application and handle user interaction
  • We learned how to create HTML templates so we can define reusable element structures in markup
  • We learned how to use Web Storage to save and retrieve the state of an application, and created an AppStorage object to help us access localStorage

Now that we've learned the basics of creating HTML5 applications and have our tasklist application working, we're ready to do some styling. In the next chapter, we will learn about some of the new CSS3 features that will make our application look as good, or better than, any desktop app.

主站蜘蛛池模板: 太仆寺旗| 荔波县| 保德县| 方城县| 隆回县| 安阳县| 奉新县| 敖汉旗| 昌平区| 葵青区| 扶风县| 太白县| 广德县| 巴塘县| 博野县| 剑川县| 抚远县| 云梦县| 哈尔滨市| 万州区| 诸暨市| 周至县| 潢川县| 邻水| 斗六市| 拜泉县| 项城市| 祁门县| 红安县| 卫辉市| 林州市| 延吉市| 潮州市| 乾安县| 藁城市| 嵩明县| 潼关县| 嘉定区| 九台市| 务川| 乌鲁木齐县|