if booming blade or green flame blade are counter-spelled, does the attack still go through?

Booming blade says:

As part of the action used to cast this spell, you must make a melee attack with a weapon against one creature within the spell’s range.

Counterspell reads

You attempt to interrupt a creature in the process of casting a spell. If the creature is casting a spell of 3rd level or lower, its spell fails and has no effect.

Does counterspell interrupt the attack made in conjunction with casting booming blade?