Is it possible to build games using html5 and css3 only? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is it possible to build games using html5 and css3 only?

answer: yes ;) check out link below https://codepen.io/elad2412/pen/hBaqo

4th Apr 2018, 8:01 PM
Fjodor Fim
Fjodor Fim - avatar
14 Answers
26th Oct 2018, 10:29 AM
Didi Georgel Danaila
Didi Georgel Danaila - avatar
+ 3
Connor Q. Hudson thanks for your opinion :) it's not like i've asked if it possible to build (...), because i want to stop where i am atm or i'm not aware that JS is required to build games ;) it was just cuz of pure curiosity. i liked the code of the game i found, it's impressive that the guy was able to show how much you can get out of html5 and css3 only!
8th Apr 2018, 8:09 PM
Fjodor Fim
Fjodor Fim - avatar
+ 2
Jakob Marley , tnx for answering. It's not about avoiding learning other stuff ;) I was just wondering if I can practise using html5/css3, before start learning JS.
4th Apr 2018, 8:16 PM
Fjodor Fim
Fjodor Fim - avatar
+ 2
@Fjodor Gotcha! :) I'd recommend getting started on JS sooner than later. You could easily go through the course here in an afternoon. That'll make what you're practicing a lot better, and HTML/CSS/JS go hand-in-hand with one another. Either way, best of luck to you in your studies! I'm sure you'll end up creating some reallly awesome stuff. Keep pushin!
4th Apr 2018, 8:23 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 2
Martin Taylor , I was pretty much sure that it's not possible to build games using html5 and css3 only, just wanted to make sure. there are so many peopel here, who are much more experienced, so always worth to ask ;) I've checked the link posted by Jakob Marley Definitely going for JS straight after html5/css3. tnx for your answer too :) !
4th Apr 2018, 8:46 PM
Fjodor Fim
Fjodor Fim - avatar
+ 2
Jakob Marley Martin Taylor Bartosz Pieszko 🇳🇬Brains I did some research and apparently it is possible to bild a simple game using html&css only :) Check this out, it`s cool: https://codepen.io/elad2412/pen/hBaqo
6th Apr 2018, 8:55 AM
Fjodor Fim
Fjodor Fim - avatar
+ 2
I feel like you could make a very poor game using css and html ONLY. JavaScript will benefit you greatly because HTML isn’t even considered a programming language. It’s a “Markup Language” This goes along with CSS. It’s not even a programming language, but instead, Cascading Style Sheets. Basically, HTML is for page structure, CSS is for style and feel of the page, And JavaScript is for the interactivity of the page. Sorry if I’m wrong, but please note that this is PURELY my opinion and is PURELY based upon what I have heard and currently know.
8th Apr 2018, 2:26 PM
Connor Q. Hudson
Connor Q. Hudson - avatar
+ 2
Didi Georgel Danaila - cool game, btw :) !
26th Oct 2018, 11:38 AM
Fjodor Fim
Fjodor Fim - avatar
+ 1
If you want to make browser game then try to learn JavaScript additionally.
4th Apr 2018, 8:05 PM
Bartosz Pieszko
Bartosz Pieszko - avatar
+ 1
It's possible. There are a lot of better options to pick from though, so I wouldn't do it if your only reason is that you don't feel like learning other stuff. However, since you're asking: https://html5gameengine.com/ ^Database that has a big listing of various engines for HTML5/Javascript. You can find a lot more and additional resources by utilizing a simple Google search. ;) *edit* I just read the other responses. I'm 100% assuming that you either know or are planning to learn Javascript. Games or not, you shouldn't stop at just HTML/CSS3.
4th Apr 2018, 8:09 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
Well I would have said no until I found a sololearn code which sadly no longer exists.This guy built an interactive 3d world fps shooter with ONLY html and css.How did he respond to touches and things like that he used css's hover property about the rest I don't know he pulled it off,but yes it is possible
4th Apr 2018, 8:43 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 1
You'll need javascript to tell various components how should they behave.
8th Apr 2018, 8:31 AM
Mitali
Mitali - avatar
+ 1
Didi Georgel Danaila, Apparently, you can: https://codepen.io/elad2412/pen/hBaqo And yes, it's like an art for art's sake, not very efficient or best choice, but possible ;)
26th Oct 2018, 11:35 AM
Fjodor Fim
Fjodor Fim - avatar
+ 1
very interested. I didn't know that is possible. Thanks Fjodor 😀
26th Oct 2018, 1:53 PM
Didi Georgel Danaila
Didi Georgel Danaila - avatar