Question

Part 3: App class Your final task is to incorpate the User class you've written into the app. index.html and css/index.css have been written for you, and your code must work

with the HTML provided. We have started the implementation of the App class in js/app.js. Here are the parts of the app we have written already: • The "List Users" button is fully hooked up. Once your apiRequest function is working, it should be functional, displaying a list of users in your database in an alert. • The _loadProfile helper method has been started. It fills in the user ID in the sidebar and the parts of the new post form, as well as wiping out the current feed. • The _displayPost helper method is complete. It takes a Post instance and adds it to the feed.

Fig: 1