function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kelly CreechKelly Creech 

Getting started with Hybrid Development VisualForce page not displaying

I am not sure what I am doing wrong I pass the challange but the visual force page never showed up. I feel like i have something wrong with my connecting because even when I try to make a call out its does show the results such as  when i put this code in my index.html

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
    <link href="ratchet.css" rel="stylesheet">
    <link href="ratchet-theme.css" rel="stylesheet">

   <script src="cordova.js"></script>
   <script src="force.js"></script>
   
   <script>
    /* Do login */
    force.init({
               // Replace with the consumer key of the connected app you created in step 1.
               appId: "3MVG9uudbyLbNPZP0n7WjSodbS6JYne_EaMLxumKJ5al4c5WKyvYMuexirZuP8v4ylf6FJwnVtOgQj2.ha3nQ"
               });
               
               force.login(function() {
                           force.query('SELECT Id, Name FROM User LIMIT 10', function (response) {
                                       var html = '';
                                       var users = response.records;
                                       for (var i = 0; i < users.length; i++) {
                                       html += '<li class="table-view-cell">' + users[i].Name + '</li>';
                                       }
                                       document.getElementById('users').innerHTML = html;
                                       });
                           });
    </script>
</head>

<body>

    <header class="bar bar-nav">
        <h1 class="title">Users</h1>
    </header>
    <ul id="users" class="table-view content">
        <!-- Placeholder to add users list -->
    </ul>

</body>
</html>