Give Credit to Resources Used

Is it necessary to give credit to resources (such as tutorials or example code) used if they are not used exactly as the example was and adapted heavily? If so, where should I write this information?
Give Credit to Resources Used
 
 
Q