JavaScript dice roll


Interactive dice roll


February 2017

tools used

HTML, CSS & JavaScript


Following a course from an awesome teacher called Jonass Schemdtmann view his website. The project focuses on using dom mulipulation and creating interactive dice rolls through random numbers. The game combines all basic js in a neat way.


Updating image src based on random number. creating init functions to hold starting code. keeping the code dry. dom mulipulation.

See the Pen DOM Pig game by Harry Beckwith (@fun) on CodePen.

← Back to all projects