don’t send final answer. The moderators are trying to ensure solutions are not displayed through forum otherwise other students will copy and paste and doesn’t think on how to solve.
I was trying to send the updated code which was still not working before but i couldn’t send it in the correct format because it was taking it as normal text. So i wanted to know how I can send it in code format. It’s only for future references
In my case when this happens I just RESET the Step and rewrite it manually, it seems that the code box sometimes does not accept copy and paste code, I’m working with VS code hence the copy paste is a must to transpolate the code from VS to FreeCodeCamp desktop app.
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. (Backtick shares a button with Tilde ~)
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.