Prosecuting attorneys prosecute crimes.
Car crashes are not crimes unless something else is going on and then it's not the crash that's investigated (i.e. drunk driving leading to an accident) but the crime that led to the crash.
Therefore prosecuting attorneys neither win nor loss car crash cases. Therefore your question makes no sense and is unanswerable.
There's a lot of competition for lawyers, so unless you are willing to kill yourself to make partner, or work in a more rural area/state, there aren't a lot of jobs. Unless you are in the top five at Harvard.
Not sure what you mean by website coder - do you mean programmer? Designer? Or ? Getting a good solid background in computer science is good for a lot of jobs.
Since there is no specific major requirement for law school, I suggest you major in some aspect of computer science and then you can decide whether or not to go to law school after a couple of years of undergrad. You could go into law related to the internet, websites, copyright, etc.
So you can combine both.