How to complete coding challenges in JavaScript?

Hello Everyone,

I recently started the JavaScript Algorithms and Data Structures certification and I get stuck when I am trying to complete the coding challenges on the “Basic JavaScript” section. Does anyone have any tips or guidance on how I should be completing these challenges? I truly don’t like just looking at the solution just to pass the challenge as I feel that it does not allow me to understand the concept(s ) being taught. I prefer to work these challenges on my own however, once I get to a challenge I don’t know how to start it and more than anything how to complete it. Are there some strategies that I can use to solve these challenges?

Thanks in advance!

Javascript is much harder than HTML/CSS, so don’t feel bad that you aren’t getting it right away. Just take your time and go one step at a time and make sure you understand what you did in each step. If you have questions then you can post them here.

So I would start by telling us which challenge you are currently working on (a link to the challenge would be great) and then also paste your broken code in here so we can see what you did and then we can help you get to the correct answer.

To display your code in here you need to wrap it in triple back ticks. On a line by itself type three back ticks. Then on the first line below the three back ticks paste in your code. Then below your code on a new line type three more back ticks. The back tick on my keyboard is in the upper left just above the Tab key and below the Esc key.

1 Like

Great!, I will do that going forward with the challenges that I complete. Also, thank you for the tips on how to write questions on the forum. I appreciate it!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.