Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
hey guys, I'm new to ember and was trying to build an app and was following a tutorial on their website and i really think my code is like theirs but when I try to run the app on chrome nothing show so i open the console and i says uncaught #<unrecognizedurlerror> any idea why this might be?

index.html:

XML
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <title>IT</title>
    <link href="Content/normalize.css" rel="stylesheet" />
    <link href="Content//style.css" rel="stylesheet" />
    <link href="Content/bootstrap.css" rel="stylesheet" />
</head>
<body>
    <script type="text/x-handlebars">
        <div class="navbar">
            <div class="navbar-inner">
                <a class="navbar-brand" href="index">IT</a>
                <ul class="nav">
                    <li><a href="#">Event Calendar</a></li>
                    <li><a>Help</a></li>
                </ul>
            </div>
        </div>
    </script>

    <script src="Scripts/jquery-2.1.1.js"></script>
    <script src="Scripts/handlebars.js"></script>
    <script src="Scripts/ember.prod.js"></script>
    <script src="Scripts/showdown.js"></script>
    <script src="Scripts/moment.js"></script>
    <script src="Scripts/app/application.js"></script>
    <script src="Scripts/app/routes.js"></script>
    <script src="Scripts/app/models.js"></script>
    <script src="Scripts/app/controllers.js"></script>
</body>
</html>


application.js:

App = Ember.Application.create();
Posted
Updated 30-Jan-15 3:43am
v2

1 solution

HTML
<link href="Content//style.css" rel="stylesheet" />


There should not be a double slash in the url.
 
Share this answer
 
Comments
varmartins 30-Jan-15 10:52am    
well that was stupid of me... but it still didn't fix the problem
phil.o 31-Jan-15 5:16am    
Then it could be <a href="#">. Normally it expects a name after #.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900