Not able to code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Not able to code

I tried to write code I tired to make stopwatch but I didn't understand... where should I function what should I write ? It's easy for me when I watch tutorial and implement on my own but when it's come to self project I'm not able to code anything anyone what should I do?

23rd May 2024, 6:39 PM
Jane
Jane - avatar
9 Answers
+ 6
Plan out your project. Write the steps to completing. Break down the problem. Start with a basic concept and break it down into smaller pieces. What does a stopwatch consist of? How do i start the stopwatch? How will the numbers go up? Try to answer these questions and translate that into code. Starting out a project is the hardest part.
23rd May 2024, 8:24 PM
Junior
Junior - avatar
+ 5
Hey, ditch those YouTube videos to learn problem solving.  If you hit a roadblock, just ask for help. Learn html and how to interact with that HTML Document Object Model (DOM) like a pro using JavaScript. Trust me, it's the way it was meant to be. You'll pick it up way faster this way. https://www.w3schools.com/js/js_htmldom.asp
24th May 2024, 4:31 AM
Chris Coder
Chris Coder - avatar
+ 4
Junior Thanks for the suggestion I tired this and this really worked out
24th May 2024, 8:58 AM
Jane
Jane - avatar
+ 4
Chris Coder Thank you for the suggestion I'll try this
24th May 2024, 9:00 AM
Jane
Jane - avatar
+ 3
To be honest Jane , I'm not that great at any of the languages. I mostly just play with them. I come up with an idea and do as Junior said. I start trying to break it into steps, then into steps that are smaller than that... I often use paper and draw it all out, write it down. Then I write pseudocode. Then I code. If the idea for a project is something that you would like to do, then you tend to put more effort into it. What do you like about a stopwatch? Is there something you wish a/your stopwatch had?
23rd May 2024, 8:47 PM
Ausgrindtube
Ausgrindtube - avatar
+ 2
If you are not able just pick a course and start learning
25th May 2024, 1:34 PM
G Speed
G Speed - avatar
+ 1
Or Jane if I should tell you pick up Phyton introduction
25th May 2024, 9:14 PM
G Speed
G Speed - avatar
0
Ausgrindtube How did you improve your JavaScript? Can you tell if u won't mind
23rd May 2024, 6:53 PM
Jane
Jane - avatar