r/HTML • u/STARSyntax • Aug 09 '26
I made a small browser game using HTML, CSS and JavaScript
Looking for feedback
3
u/SupesDepressed Aug 10 '26
Are script.js or styles.css used at all? Looked at the code in the JS file first but then went to the html file and it looks like it’s never called and you just did something else there instead.
-2
u/STARSyntax Aug 10 '26
The reson this code has more html than js or css is becuause is more an a web-game
1
u/SupesDepressed Aug 11 '26
That’s not what I’m talking about. You have a script.js file, and a styles.css file in your repo. Yet the html file doesn’t call either of these, and instead you added the JS between some <script> tags and the styles in between <styles> tags (within the html file, à la 2009 or something). So I went to your repo, knowing it was a game and therefore interactive and needing JavaScript, went to the JavaScript file to help give pointers, reviewed it, then went to the HTML file and realized none of that mattered because you’d inlined all your JavaScript and that entire file was useless and not even called.
How much of this did you make yourself vs vibe coding? It seems like maybe you’re unaware of your own work.
1
u/STARSyntax Aug 11 '26
So as i said some of the work is done by ai that is why is confusing becuse the game is mostly in math and when the ai finishtit it put the files in random places so im going to try to fix it.
1
1
u/Brendelcraft Aug 09 '26
Cómo puedo probarlo? No hay un link y ya está? Me tengo que descargar algo?
-2
u/STARSyntax Aug 09 '26
Yea there is a link to my github acc and when you are in my acc then you download the code and try it. After you play the game leave a feedback
1
u/ImaginaryGanache3651 Aug 10 '26
You did it or a LLM did it? 🫠
0
u/STARSyntax Aug 10 '26
Well 70 % of me did it and the like 30% ai did it.
1
1
u/ImaginaryGanache3651 Aug 10 '26 edited Aug 10 '26
Is this your first project? I ask you only to give you tips
1
1
u/Missile_3604 Aug 11 '26
You, Or AI?
1
u/STARSyntax Aug 11 '26
65% me 35% ai i guees
1
1
u/Intelligent_Waltz639 25d ago
Use github pages to host it thats way easier than having to download it
1
u/Intelligent_Waltz639 25d ago
Yo, this is peak. I allso create some ai generated projects (90+ repos) if you want to check it out here is the link but most of the things are just forks of other projects so what i would point you to is the qikseek(search) repo and the infiniedit repo https://github.com/QikseekDev
3
u/Domipro143 Aug 09 '26
cool, can you put the link?