Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
Franco Javier Danussi
@francodanussi
first
if you used ID then you should call the querySelector("#temp")
Prakash Shiwakoti
@pshiwakoti1
ok
Franco Javier Danussi
@francodanussi
Second, check the structure of your JSON, how would you access the temp property?
Prakash Shiwakoti
@pshiwakoti1
Im getting mixed content error on my console
main.temp would give me temperature
looking at the OPen Weather API
Franco Javier Danussi
@francodanussi
Are you sure? check the results of your calls with alerts in your console, or with console.log
Prakash Shiwakoti
@pshiwakoti1
yes
Im getting mixed content errors in my console
how do I get rid of that?
Franco Javier Danussi
@francodanussi
I can't see that
console.log your data, the entire JSON
and then access step by step to the desired value
that's a good way to debug
Prakash Shiwakoti
@pshiwakoti1
ti doesnt show anything on the console
Franco Javier Danussi
@francodanussi
Make sure that you can see your JSON in the console, and then make sure that you are giving the proper instructions
Ok, then you can try opening the generated URL in a blank a page so you can check the JSON
Prakash Shiwakoti
@pshiwakoti1
I was getting the json data earlier on my browser
Franco Javier Danussi
@francodanussi
I noticed that
Prakash Shiwakoti
@pshiwakoti1
But now all of a sudden I can't see it
Franco Javier Danussi
@francodanussi
Try to get the JSON again
Chris Cullen
@123xylem
I Get this error when I try to load my paper.js Examples from a fresh download with no modifications...IVE tried dloading 3 different versions but still no worky.
Any help!!!??
Failed to load resource: net::ERR_FILE_NOT_FOUND paper-full.js ---- style.css
Franco Javier Danussi
@francodanussi
@pshiwakoti1 Wish you good luck, I'm going to bed. Erase the changes and get the JSON again, then try to assign the content to the html with JQuery or QuerySelector, you are almost there
Vincent D'Onofrio
@donofriov
@pshiwakoti1 it has to do with https security
the previews both work here :smile: but if you got to the http:// version you should be able to do everything
Prakash Shiwakoti
@pshiwakoti1
yes I am doing without https
just http url
@donofriov will you please let me know why I am not able to see data on my browser. I was seeeing it before
that isn’t what you want
Prakash Shiwakoti
@pshiwakoti1
it worked
but Im not able to filter out the json data
how do I display in html
Vincent D'Onofrio
@donofriov
that url definitely doesn’t work
I would suggest simplying your second api call down
you use .getJSON to make your first request, but .ajax for your second one
why not just use .getJSON again?
mscirocco8
@mscirocco8
hey im having trouble with boostrap. Im trying to get my bulletpointed facts to be centered so i made 3 divs in a div row but my center row goes all the way to the left side bc the first and third divs have nothing in them
Vincent D'Onofrio
@donofriov
do you want the 3 divs to be side by side, or on top of each other?
mscirocco8
@mscirocco8
i want to have a div 3 col wide with nothing in it, a 6 col wide div where I can put text and a list in it, and a 3 col wide div with nothing in it
like so that the text is centered in a middle column on the screen
Johnny
@jtan3
@mscirocco8 do you mind posting your link?
Vincent D'Onofrio
@donofriov
ok cool, you can use offset
so you actually don’t even need the first and third div
you can do a col-6 offset- 3 on the one div and it should center it
may not be the exact right numbers, but play around with that and see where you end up
mscirocco8
@mscirocco8
kk