Its hard shell repels any kind of attack. It is vulnerable only when its shell is open.
How Shellder's in-game sprite changed across the main Pokémon games, from its debut in Generation I onward.