What is the error in this code?
I am new to html5 web app programming. I found the following code for making a simple app:
<script class="hiddenSpellError"><!--mce:0--></script>
senchatouch/1.1.0/sencha-touch.css" rel="stylesheet" type="text/css" />
<link href="app.css" rel="stylesheet" type="text/css" />
<script src="app.js" type="text/javascript"></script>
but i am not getting the desire开发者_运维百科d output. Pls help
You are referencing external resources in the last two lines:
<link href="app.css" rel="stylesheet" type="text/css" />
<script src="app.js" type="text/javascript"></script>
Do you have files called "app.css" and "app.js" in the same directory as your html file? Also, what is your desired output?
I think you meant:
<link href="senchatouch/1.1.0/sencha-touch.css" rel="stylesheet" type="text/css" />
for the second line.
精彩评论