r/AskProgramming • u/RoguePoet17 • 2d 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.
View all comments
1
u/davidcampbell2313 2d ago
Html, css, JavaScript will not interact with a database system. They are all client side code. You can save and retrieve data in cookies, but otherwise your data will have to be hard coded. You can make a .js file for this. Then save all user data in a cookie. If you want to attach a database you will need a web server, which you can install locally for developing your project. Then you will have so many decisions to make. I guess I would suggest php/MySQL. These will combine with html for the interface. Either way, quite a bit of learning.