how to connect a battery to a hair flat iron

35 watts at 120 volts equates to 0.3 amperes current drain, so the total battery capacity required is 0.3 ampere-hours.

80 AA batteries (even AAA!) in series would easily solve the problem.