Skip to content

Commit 2821bf4

Browse files
committedFeb 24, 2023
Scrimba Js/Css projects have been uploaded
1 parent 224acbd commit 2821bf4

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed
 

‎ScrimbaBootCamp/javaScript/week4/day1/index.css

+12-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ body {
22
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', Arial, sans-serif;
33
background-image: url("images/table.png");
44
background-size: cover;
5-
font-weight: bold;
5+
font-weight: bolder;
66
color: white;
77
text-align: center;
88
}
@@ -28,7 +28,17 @@ button {
2828
background: goldenrod;
2929
padding-top: 5px;
3030
padding-bottom: 5px;
31-
font-weight: bold;
31+
font-weight: bolder;
3232
border: none;
3333
border-radius: 2px;
34+
}
35+
36+
.container{
37+
width: 30%;
38+
height: 60%;
39+
border: 4px solid white;
40+
border-radius: 20px;
41+
margin-left: 35%;
42+
margin-top: 5%;
43+
background:palevioletred;
3444
}

‎ScrimbaBootCamp/javaScript/week4/day1/index.html

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,17 @@
33
<link rel="stylesheet" href="index.css">
44
</head>
55
<body>
6+
<div class="container">
67
<h1>Blackjack</h1>
78
<p id="message-el">Want to play a round?</p>
89
<p>Cards:</p>
910
<p>Sum:</p>
10-
<!-- 1. Create a button that says START GAME.
11+
<!-- 1. Create a button that says START GAME.
1112
Make it call a startGame() function when clicked -->
1213
<button onclick="startGame()">START GAME</button>
1314
<p id="errorMessage"></p>
1415
<script src="index.js"></script>
16+
</div>
17+
1518
</body>
1619
</html>

0 commit comments

Comments
 (0)
Please sign in to comment.