Closed JoshuaPeddle closed 2 years ago
Didn't see any errors. There are some things you might want to know though: you can just do $(function() {} instead of $(document).ready, it's the default behaviour. and console.log does work in the webpage, just open up your developer console. (F12, generally).
Not that you need to use either, but I'm passing on the knowledge in case you want to.
Sweet. Good advise, debugging with alert is not fun.
Yeah, i'm putting in some debugging code to this branch right now.
My dog won't leave me alone, but I've pushed debugging code so you can see the weirdness with the responses array.
I've added some basic code for the frontend that was loosely based off the contacts app v5 design.
Still early prototype with not much working as of right now. Some code is just temporary placeholder till we find something better.
I've also added a leaflet.js map to the homepage. The website felt empty and I enjoy having something there while working on it. Not sure if this is the best option or not. If we decide not to use we can remove it easily.
Added some sample jquery and an ajax calls to our server in frontend.js.
It's late and I've probably made mistakes so please reach out if something not right.