AnnesFlashBack / Mini-Exercises

Anne Gregersen's repository containing the MiniExercises for AP 2018.
0 stars 0 forks source link

Feedback_Helena #16

Open hele4924 opened 6 years ago

hele4924 commented 6 years ago

The program is a kind of search engine. You can type in a search word in the box and the returned result is a lot of gifs that has a relation to that search word.

To ensure that the search function works you have divided the query URL into three parts the API, the APIkey and the query. What I find noticeable about your code is the last two functions, where the KeyPressed function have an if-statement that if true results in the function enterpressed. I am a bit confused why you made the last function when it looks like you could just have put the data form enterpressed into the if-statement? (properly it is my lack of skills that confuses me)

The page you have used seems to return quite a lot of data (compared to pages like google) which is nice. Still, Iike your notion of how pages control the data they send back. I think the look of your program is really nice, especially the search field looks pretty cool.