Hot answers tagged

3 votes
Accepted

My articles do not match with the staff articles

That's old news. The staff's output, I mean. All the articles are a month old. It is reasonable to assume that the staff's solution has "features" that are unknown (and unknowable). As noted in the ...
user avatar
2 votes
Accepted

pset8: infowindow and $.getJSON difficulties

You are on the right track! For example, you are definitely not putting the $.getJSON statement in the right place. But that's easy to fix. Your real problem is with variable scope. One of the most ...
user avatar
  • 3,036
1 vote

Route did not return true when username is available

As far as I know, it's jsonify(True).
user avatar
  • 20.7k
1 vote
Accepted

Pset8: Please help, all my markers and news disappeared (Other peoples code don't work either)

Looks like you missed out at least one setting for your marker. Be sure you have in your new Marker map: map, So that the markers will go on the map. I added that one line and your markers ...
user avatar
  • 18.4k
1 vote
Accepted

Pset8: add marker, article links not clickable

Review the MDN doc on anchor tag and then verify that your add marker uses valid attributes. (Hint typo!). Perhaps clicking on the red do in the top right of the inspector will give more info. IMO ...
user avatar
1 vote
Accepted

pset8 - /search - I'm not getting any json outputs

If q= "Boca Raton, Florida, 33496" as in the commented example, program will take the elif branch, and a= db.execute("SELECT * FROM places WHERE place_name LIKE :q", q=q) will indeed return an empty ...
user avatar
1 vote
Accepted

PSET8 search empty JSON

I've just realised I had to put $places instead of $alpha_match. I should've paid more attention to the code below of how the JSON is created. facepalm
user avatar
  • 97

Only top scored, non community-wiki answers of a minimum length are eligible