embed jquery in html page
Hello there,
i need your help!
I´m trying to start a html/jquery page but it just doesnt work.
Attached you find the folder structure and the code of the page.
I just dont know what is wrong.
this is the code and according to the book i have her ("Apps mit HTML5 und CSS3") I should see a navigation bar in the footer with star-icons...
Plus it underlines every "data-role"-tag i write which I don´t think is right either.
- <!DOCTYPE html>
- <html>
- <head>
- <title>Testseite</title>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
-
- <meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1">
-
-
- <link rel="stylesheet" href="/jquery.mobile-1.4.5.css" />
- <script src="/jquery-1.12.0.js"></script>
- <script src="/jquery.mobile-1.4.5.js"></script>
-
- <meta name="apple-mobile-web-app-capable" content="yes" />
-
- <link href="/styles.css" type="text/css" rel="stylesheet" />
-
- </head>
- <body>
- <div data-role="page" id="startseite">
-
- <div data-role="navbar" data-theme="b">
- <ul>
- <li><a href="#menue" data-icon="star" data-transition="fade">MENUE</a></li>
- <li><a href="#anfahrt" data-icon="star" data-transition="fade">ANFAHRT</a></li>
- <li><a href="#kontakt" data-icon="star" data-transition="fade">KONTAKT</a></li>
- </ul>
- </div><!-- /navbar -->
-
-
-
- </div> <!-- /page -->
- </body>
- </html>
Please help me!! It´s probably only a little thing but i`ve spent hours already trying to figure it out.
Thank you :)
Pia