No serial port recognition arduino uno

Hello Arduino world! I am new to this so I have been using Jeremy Blum's book to help me get started. But I have recently encountered a problem. Whenever I have the board wired in the way shown in the attached diagram and I try to run the code (also in the attachment) the board will not show up in the serial port options. I'm using mac osx. How do I fix this??

Wiring diagram.png

Code.png

Did you try another USB cable? A different USB port on your Mac?