Skip to content

thewolftravel/Dicee-Challenge_Web-Development-Bootcamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Dice Roll for Two Players

Welcome to the Random Dice Roll repository for two players! This simple web application allows you to roll two virtual six-sided dice, one for each player, and see random results displayed as images.

Demo

You can see a live demo of this project here: https://thewolftravel.github.io/Dicee-Challenge_Web-Development-Bootcamp/

How It Works

This project is a simple example of using JavaScript to change the displayed images on the web page for two players. The setAttribute() method is used to change the src attribute of the image elements, which correspond to different dice faces. When the page is refreshed, random numbers between 1 and 6 are generated for each player, and the corresponding dice face images are displayed.

Technologies Used

This project uses the following technologies: -HTML -CSS -JavaScript

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors