I can write functional code but not past the tests

Hello, everyone. I am thrilled to talk to you guys. I have been learning in the full-stack curriculum and it has been so effective. However, there is a matter regarding the tests that I would like clarification on.

In some projects’ tests, especially the labs, I can write a functional code, making sure that it works as asked following the instructions, but I tended to fail some tests. It even became sabotaging for my progress sometimes. If I can make the project work, can I move on to other parts of the course since I have done what was asked from me? I wanted to ask you guys if It would be better to permit myself to pass to other stuff because I don’t want to hurt my progress!

Thank you for your understanding!
Zakariae.

I suspect that if some of the tests are failing, then you aren’t fully understanding the requirements of the project. That “last 10-20%” of the work on something is the most important, in my opinion

1 Like

For example, if I hit a wall in a project, what do you suggest doing? I know that it is better passing the test with the perfect code, but what is recommended to do in my case?

I would post your code on the forum and talk about how you are stuck getting the last tests passing.

1 Like