For anyone interested in getting started with Solidity in 20-30 mins, one of the languages that Ethereum contracts can be coded in (some analogize this language to JS, the other language is Serpent which is compared to Python), you can see a quick primer I put together:
https://learnxinyminutes.com/docs/solidity/
You can test your code here:
https://ethereum.github.io/browser-solidity/#version=soljson...