Hot answers tagged

2

You told the program to "get" info from "articles" here $.getJSON(Flask.url_for("articles")) but you didn't tell it what to GET. Assuming your articles function returns data as per the examples (eg https://ide50-username.cs50.io/articles?geo=02138), you need to send a "query string" to articles. Use the supplied search function as a guide: function search(...


1

The console log is very "busy", especially if there is a traceback. Suggest you make the output stand out more. Something like print("YOU ARE HERE>>>>>>: ",cash). Adding newlines ("\n" before and after the text may give additional visual cues.


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