No, it wasn't, not in direct opposition to the 10th Amendment, moron. That wasn't even what the case was about. Try paying attention.
You seriously don't know when to quit, you moron.
The 10th amendment states that powers not given to the federal government are the property of the states or the people.
The ACA (and specifically the individual mandate) was found to be a valid exercise of Congress' taxation power. ie: Congress used one of the powers explicitly reserved for it by the Constitution, therefore the 10th amendment doesn't apply.
You're going to want to stop now before you embarrass yourself any further.