Install Etcher and use it to write the Raspbian image to your SD card. You don’t need to extract the image or format the card prior to writing. Just choose the Raspbian .zip, pick your SD card and write (if you have trouble, verify the SHA256 checksum of the download).
Remove and reinsert the SD card so that your Windows or Mac PC can see the small FAT32 partition on the SD card.
On that small partition, create a file with the name ssh (or ssh.txt).
To connect to a wireless network, create another file on the boot partition called wpa_supplicant.conf which has the following inside: