AngularJS code for Monty Hall game
HTML code:index.html
Application code:montyapp.js
var app = angular.module('myApp', []);
CSS code:montystyle.css
h1 {
font-family: Impact, Charcoal, sans-serif;
font-size: 3em;
}
.btn {
font-family: Impact, Charcoal, sans-serif;
font-size: 3em;
width:400px;
height:100px;
background-color: green;
border: .1em solid black;
border-radius: .2em;
color: white;
background-size: 100%;
display: inline-block;
}
img {
padding:20px;
}
img:hover {
opacity: 0.5;
filter: alpha(opacity=50); /* For IE8 and earlier */
}