Enter Details

Comment on stories, receive email newsletters & alerts.

This is your permanent identity for Business Insider Australia
Your email must be valid for account activation
Minimum of 8 standard keyboard characters


Email newsletters but will contain a brief summary of our top stories and news alerts.

Forgotten Password

Enter Details

Back to log in

A hidden message about Obama golfing was deleted from Trump's website after people noticed

  • President Donald Trump’s campaign website had a message hidden in its source code.
  • It was a joke about former President Barack Obama golfing. The code containing the message was deleted shortly after it was discovered.
  • Trump has spent 71 of his 346 days in office playing golf, according to The Washington Post.

There has never been a president with the same passion for golf as Donald Trump.

Trump has golfed on 71 of his 346 days in office, by The Washington Post’s count.

That’s why a lot of people thought it funny when a snarky error message was found hidden in the JavaScript code of Trump’s campaign’s website on Thursday.

It said: “Oops! Something went wrong. Unlike Obama, we are working to fix the problem … and not on the golf course.”

As The Post’s Christopher Ingraham wrote on Twitter, it’s unclear whether the error message was ever shown. The quip was intended to replace a basic “page not found” message, but there seemed to be errors in the code.

Regardless, the snippet of code was removed from the website a few hours after it was discovered. But you can still see the joke in the source code if you access an cache of the site.

As president, Trump has played a round of golf nearly every five days, according to The Post.

Over his eight years in office, President Barack Obama played 333 games of golf, or once about every nine days.

NOW WATCH: Tech Insider videos

Want to read a more in-depth view on the trends influencing Australian business and the global economy? BI / Research is designed to help executives and industry leaders understand the major challenges and opportunities for industry, technology, strategy and the economy in the future. Sign up for free at