Dataloging with a DHT11

Use the auto format tool on your code. You might see where you have a misplaced '}'. Auto format, in the IDE, using ctrl-t or Tools, Auto Format.
If you put the cursor to the right of a {, }, ( or ) the matching bracket will be highlighted.