Another way to make hidden files and folders visible requires you to use Terminal.
- Open Terminal
- Run the following script:
$ defaults write com.apple.Finder AppleShowAllFiles true
$ killall Finder
If you want to switch it back, simply change the true to false.