No, you didn't follow that. You neither created a new partition nor a new swapfile to prepare with mkswap and then use with swapon.
Be glad it didn't work, otherwise you would have overwritten your OS partition.
But anyway, that there is no swap entry in your fstab means that it is configured...