In a series of posts online, people slammed the president for his outfit choice.