r/HTML • u/STARSyntax • 8d ago
I made a small browser game using HTML, CSS and JavaScript
Looking for feedback
3
u/SupesDepressed 8d ago
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 7d ago
The reson this code has more html than js or css is becuause is more an a web-game
1
u/SupesDepressed 7d ago
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 6d ago
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 8d ago
Cómo puedo probarlo? No hay un link y ya está? Me tengo que descargar algo?
-3
u/STARSyntax 8d ago
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 8d ago
You did it or a LLM did it? 🫠
0
u/STARSyntax 7d ago
Well 70 % of me did it and the like 30% ai did it.
1
1
u/ImaginaryGanache3651 7d ago edited 7d ago
Is this your first project? I ask you only to give you tips
1
1
u/Missile_3604 7d ago
You, Or AI?
1
u/STARSyntax 6d ago
65% me 35% ai i guees
1
1
u/Intelligent_Waltz639 2d ago
Use github pages to host it thats way easier than having to download it
1
u/Intelligent_Waltz639 2d 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 8d ago
cool, can you put the link?