This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!
Submit FeedbackHere's my solution
First time using an API, this was really fun.
This was fun, and more difficult that I first anticipated.
I too had to spend some time om the parsing, but i the end I came pretty close.
I did not match the result provided, but I can see, that others has questioned whether Atmoic Fireballs is the same as Atomic Fireball.
Since the bag only mentions Fireballs, I assumed they where the same, but oddly enough, it I remove the calorie count for the "Atmoic" Fireballs, then my calorie of the bag is equivalent with the provided solution.
My solution for this weekly challenge
Until next week...
Happy Halloween