For the diet tracker assignment, the second link will take you to a page to analyze your diet. Click the link on the right of the screen which will take you to eattracker.ca where you can continue the assignment.
Website to count calories: http://www.calorieking.com/foods/
Carbs yield 4 calories per gram
Proteins also yield 4 calories per gram
Fats yield 9 calories per gram