Hey everyone! In this video we have a look at how to make a jump and sliding div in pure javascript, HTML and CSS – no canvas required.

This feature is something you see in a lot of 2D games such as the Prince of Persia, which was my inspiration for this video. We have done some jumping games but not ones that allow us to move left and right as well as jump so hopefully, this is useful to you and you will understand a little bit more about storing booleans in variables and why that can be useful.

Please do Subscribe or Like if you enjoyed this video so I know to keep creating more!

GitHub repo: https://github.com/kubowania/jump-slide

___
? New to code and none of this is making sense? Watch my ’12hr+ YouTube Coding Bootcamp’ in which you will learn HMTL,CSS and JavaScript Fundamentals completely from scratch. It’s on my channel and its 100% free.

? In most videos I use Tabnine as my A.I autocompletion tool. You can download it for free here: http://bit.ly/tabnine-top-tool

? You can get a blockchain domain with my affiliate link here: http://bit.ly/get-a-crypto-domain

? If you would like to buy me a coffee, well thank you very much that is mega kind! : https://www.buymeacoffee.com/aniakubow

? Sign up for weekly coding tips from my newsletter partnership: https://bit.ly/JS-tips

You can also find me on:
Twitter: https://twitter.com/ania_kubow
Instagram: https://instagram.com/aniakubow

#codingbootcamp? #coding