I'm learning web development from tutorials, and things make sense while I'm watching. Then I sit down to code on my own and go blank. What helps bridge that gap?
Anyone else freeze when trying to code without a tutorial?
Answers
Try making a tiny program that uses just one thing from the tutorial. Pick a problem you can describe in a sentence, then work out why that concept might help solve it.
When you get stuck, look up the specific piece you need rather than restarting the whole video. Having to decide what to write is different from recognizing it when someone else writes it.
Reply to this answer
Go way smaller than the apps in the videos. Even printing a little triangle of asterisks can take some figuring out when nobody is supplying the steps. That struggle is practice, not evidence that you're incapable of learning.
Reply to this answer
Videos can be awkward reference material. A written guide or documentation is much easier to search when you forget a bit of syntax. Notes in your own words can help too.
That said, having notes handy doesn't replace writing code. Use them as a reference while you try to solve something, not as another thing you have to memorize first.
Reply to this answer
For web development, take a simple page and describe what a user can do on it. What does each button do? Where does a link go? Then try to recreate those behaviors from your description.
That gives you a concrete target without following the original coding steps. Keep the finished project around so you can search your own code when you run into a similar problem later.
Reply to this answer
Knowing individual concepts and combining them are different challenges. If each lesson makes sense on its own but a project feels impossible, write down the small steps the project needs and tackle one at a time. Review examples as you go.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Rovik.6a:
So a small exercise right after each topic could be a useful step before trying a full project?
7p!turnipstamp_308:
Yeah, and it gives you a chance to see which part you need to review before adding more concepts.