-
Posts
6 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Joelthezombie15
-
-
If I'm remembering right this sort of stuff does not work for an HTML file on your desktop. The file has to be on a server.
oh that would explain it.
-
So im using notepad++ and im trying to get geolocation to work but it wont.
This is what i have so far.
<p id="demo">Click the button to get your coordinates:</p>
<button onclick="getLocation()">Try It</button><script>var x=document.getElementById("demo");function getLocation(){if (navigator.geolocation){navigator.geolocation.getCurrentPosition(showPosition);}else{x.innerHTML="Geolocation is not supported by this browser.";}}function showPosition(position){x.innerHTML="Latitude: " + position.coords.latitude +"<br>Longitude: " + position.coords.longitude;}</script>It should work. but it wont (Im using chrome) did i mess something up?
-
A div is a fundamental block element. It is generally used to define a region of a page.
So it (Im going to use an analogy) Its like string, you use to ti time things up and keep then kind of separate from other thing. correct?
-
I can get div to work i just dont understand what it does. ive read into it but i cant seem to get a good answer.
-
Hi, i had a question about the certificate you can get. Do they hold any merit when i try to apply to go to a trade school? I dont have a high school diploma and im working on etting the money to maybe get a GED but if i can use the certificate to get in instead of the GED i might do that.
so im curious how it works.
Thanks!
- 1
Web Storage issues.
in HTML/XHTML
Posted
So i am doing the web storage tutorial and its not working. i eve tried it in the text editor and it still wont work. it looks exactly the same (Unless im missing something) but it wont work.
heres my code.