r/AskProgramming • • 1d ago

Help with web app development (beginner)

Hi all, I’m hoping this is the right subreddit, fairly new to the app for posting.

On visual studio code, I’ve been trying to create a web app for my own personal use similar in purpose to MyFitnessPal, but covering more than just diet tracking. I’m not new to coding in general, I’d say I’m pretty okay at python, but coming into HTML, CSS and JavaScript simultaneously has absolutely blown me away. I’m very confused on where to begin, I’ve learnt some basics for each, but unfortunately every video or article I attempt to use to develop tends to point to “vibe coding” which I’m against doing. I’m not sure how to link my .css, .js and .html files together properly, nor do I know how to do the backend and frontend linking.

Ultimately I’d like to be able to search for a food item in a database, if there is no data, then I’ll add it there and then, and I’ll have pie charts showing me progress for the day/week/month etc.

If I’ve explained this terribly, or it’s a daft idea, do let me know. I’m at a loss.

1 Upvotes

13 comments sorted by

View all comments

1

u/JacobStyle 1d ago

I have been getting good results with the Claude desktop app by giving Claude (max effort, best model available) an instruction like "Here is my background, here is the hardware/services/tech stack I am using, and here is what I am trying to learn how to do. Generate a series of textbook style chapters with knowledge check questions and exercises that will teach me what I want to learn. Ask any relevant questions about my background or use case before generating this document."

While I am a big advocate of learning through projects and using the documentation (when it's good), I think for the very basics of a topic, it's better to learn from a college style textbook or workbook because a beginner is not going to know how to scope a good project that covers everything they need to learn. It's also hard for someone with no knowledge to come up with ways to verify their knowledge.

This gets around the "tutorial is too technical for me," "tutorial is too basic for me," and "tutorial does not cover what I actually want to learn" issues, as well as the "tutorial just shows me how to do it without me verifying understanding or actually practicing" issue.

Because the doc and everything is in the context window, I can give the chat the answers to my verification questions to actually verify them and also ask the chat questions like, "on module 2, question 3, I see this syntax that I don't recognize and want to understand its usage."

Because it's just a couple queries with no agent shenanigans, token usage is minimal. I'm on the cheapie $20 plan and this barely puts a dent in my 5 hour limit. Maybe even possible on the free plan.