element-only error

The error is on the very last line. Can you help?