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

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.

主站蜘蛛池模板: 陵川县| 东港市| 汽车| 舒兰市| 库尔勒市| 萨嘎县| 彰武县| 吉隆县| 土默特右旗| 易门县| 柘城县| 永年县| 武安市| 顺昌县| 江津市| 泊头市| 西峡县| 花垣县| 仁怀市| 宝坻区| 南乐县| 芦山县| 库尔勒市| 平泉县| 安岳县| 黔江区| 屏东市| 启东市| 常山县| 锡林浩特市| 淮南市| 兰坪| 台中县| 岗巴县| 罗山县| 图们市| 丁青县| 闻喜县| 尼木县| 芜湖市| 田林县|