2000 honda accord check engine light

Yes indeed ! I put a new gas cap on but the check light remained on. I learned that the computer needs to be reset. Rather then search for the specific fuse, I simply disconnected the battery for ten minutes. The check engine light has remained off !!!
Thanks