Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed HTML5 Mobile Web Applications!
You have completed HTML5 Mobile Web Applications!
Preview
In this video we update our form processing logic to get the user's current location by using the HTML5 Geolocation API.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
note with any information.
0:00
So, what we have to do now is go into our code and look for this particular
0:03
attribute of the form, and if it's submitted with yes, we need to find the current
0:07
location of the device and attach the information to the note.
0:12
So, we're going to jump into our application.js.
0:17
Now, right now I'm sort of focused in the new form view and in the create note area.
0:20
This is the actual code that handles saving our note into our local storage database.
0:26
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up