Convert Minutes To Hours & Minutes in Javascript Using Modulus

Using Math Floor & Modulus We Can Easily Convert The Number Of Minutes To Hours & Minutes.

Javascript Guide – MDN

The guys over at the Mozilla Developer Network have put together a great guide to Javascript exploring everything from an introduction Javascript to the Javascript objects model. Its well worth checking out if you wish to increase your knowledge of the javascript language. Visit the MDN Javascript Guide Website

No Subscribers – Update:

I don’t think the email to subscribers is working as it should do, so I’ve installed a new plugin that does away with Mail() and uses SMTP instead, so heres hoping that you subscribers get email notifications of new post publications. Please add ‘blog@highspec-computers.co.uk’ to your white lists Paul

Javascript Conditional Ternary Operator

If we simply have to test a variable and then do something based on whether this is true or do something else based on whether it is false then the Tenary Operator is perfect. Heres a quick example of an if statement

We can rewrite this using the Tenary …

Continue reading