The thing about hydrogen not usually mentioned
is that most of it is made from natural gas. That's not exactly getting away from fossil fuels.You can certainly use electrolysis, with energy from solar, wind, tidal, wave, etc., but it's a very, very inefficient process. You get much higher efficiency "well-to-wheels" if you store the electric energy in batteries or capacitors than if you make hydrogen gas, compress to very high pressures (like 10ksi), or liquify (temperature near absolute zero, plus it has to constantly vent off), transport it, then use it.Battery technology is racing ahead at breakneck speeds, and is far more likely to end up the winner for portable energy storage, where suitable (aircraft are not a good candidate for the foreseeable future). The link below is to the Tesla Motors web site - all electric 2 seater sports car that does 200+ miles at highway speeds on a single charge, zero-to-sixty in just under 4 seconds. Inconceivable just a few years ago.