Please share your code. Without more information, it is almost impossible to troubleshoot your problem. Screen captures with more information also often are helpful.
When pasting in your code, please use the “Preformatted text” format option in the toolbar for the forum editor. This will put backtics (```) around your code and make it more readable.