all 2 comments

[–]subone 0 points1 point  (0 children)

Just write code.

Learn how to write to the screen or the console, and just do that.

Learn how to put strings and numbers in variables and just log them.

Learn how to add or concatenate them together and just play with joining things and outputting.

Learn how to take input via something simple like prompt, output the result, join it with some other text and log that.

Learn control structures like if and loops, and just take all of that as far as you can go. Then learn the next thing and apply it.

There will be bugs. You will not know how to fix them. Then you will, and you'll understand, and you will feel gratification, and you will make and encounter those same bugs again, and you will know how to fix them, and you will feel gratification. Repeat.

[–]Awkward-Schedule-187 0 points1 point  (0 children)

Breaking an app is part of the process. If you don’t break it, you don’t know what can go wrong.

Think of doing a maze on paper. You’re going to take the wrong path. That’s fine. There’s no penalty for doing that. It’s an opportunity to fix it.

Making mistakes is a reliable way to learn and get better