I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
Thank you so much for commenting!
However, I rechecked my original code (in the app where I code, not here) and I do not see the extra figure element you refer to. If you have the time, please could you clarify what you mean? Thanks in advance!
Thank you so much for commenting! However, the extra figure element does not show in the freeCodeCamp app where I code. It only shows here, in the forum.
I have added a screenshot for clarity. If you have the time, could you clarify this? Thank you in advance!
it looks like you updated your code since you first posted
if you change your code and you still need help you should post your updated code, or people will keep giving you suggestions on outdated code
When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.
Thank you for the instructions. I will format any new posts of my codes in future.
However, I noted in replies that I have spotted my mistake (i.e., I identified the extra figure element), so no more assistance is needed. Do I need to do anything else?