There is an a tag in the code and the href attribute of the a tag is not deleted, so that after clicking, it jumps according to the path of the href attribute in the a tag.
Just delete the href attribute in the a tag.