Skip to content

Commit

Permalink
RESPONSIVE DESIGN ADDED
Browse files Browse the repository at this point in the history
  • Loading branch information
payalsinha12 committed Jun 5, 2024
1 parent 5338590 commit 67ba76d
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 34 deletions.
14 changes: 2 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@

<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Rubik Cube</title>
<link rel="icon" type="image/x-icon" href="images\icon.png">
<meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><link rel="stylesheet" href="./style.css">
<!--For volume icon-->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">


</head>
<body>
<header class="ui__header header"> <!-- Added "header" class -->
<a href="about.html" class="btn--about">About Us</a>
</header>

<!-- separate div element for the goggle sign-in/log-in element -->
<!-- g_id_onload is for automatic loading of the Google Identity Services. -->
<div id="g_id_onload"
Expand Down Expand Up @@ -112,14 +108,8 @@ <h1 class="text text--title">
<button class="btn btn--br btn--reset">
<icon reset></icon>
</button>
<button class="btn btn--tr fa-solid fa-volume-high" id="play-btn">
</div>

<!-- Audio element for background music -->
<audio id="background-music" autoplay loop >
<source src="Music/8 Bit Space Groove! Chill Pretty Chiptune Game Music by HeatleyBros.mp3" type="audio/mpeg">
</audio>

</div>
<!-- partial -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/three.js/95/three.min.js'></script><script src="./script.js"></script>
Expand Down
1 change: 1 addition & 0 deletions script1.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

function handleCredentialResponse(response)//is the callback function that handles the ID token received from Google.
{
const data = jwt_decode(response.credential);
Expand Down
Loading

0 comments on commit 67ba76d

Please sign in to comment.