it keeps saying that i need to close my code
You will need to post all of your code for us to be able to help you. Also, what is the name of the challenge you are working on?
FYI - To enter a code block into the forum, precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (
</>) will also add backticks around text.