Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhanced SEO in HTML files: added meta tags, improved headings, optim… #253

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
98 changes: 54 additions & 44 deletions about.html
Original file line number Diff line number Diff line change
@@ -1,83 +1,93 @@
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Added meta description for better SEO -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>About The Game - Rubik Cube</title>
<meta name="description" content="Learn about the Rubik's Cube, its history, solving methods, and advanced techniques. Discover our comprehensive resources for enhancing your Rubik's Cube solving skills.">
<title>About The Game - Rubik's Cube</title>
<link rel="stylesheet" href="about.css">
</head>
<body>
<header class="header">
<!-- Ensured link text is meaningful and descriptive for accessibility and SEO -->
<a href="index.html" class="btn--about">Back to Game</a>
</header>

<div class="content"
<h1 class="text--title" style="text-align: center;">
<span>About The Game</span>
</h1>
</div>
<div class="content">
<!-- Corrected HTML structure: properly closed the div tag -->
<h1 class="text--title" style="text-align: center;">
<span>About The Game</span>
</h1>
</div> <!-- Corrected HTML structure: moved closing div tag here -->

<div class="content">
<div class="text">
<div class="about-text--content">
<p>This website is dedicated to providing you with the best Rubik's Cube solving experience. Our team is passionate about puzzles and games, and we strive to create tools and resources that enhance your enjoyment and skill development.</p>
<p>Whether you're a beginner or an experienced solver, we hope you find our website helpful and enjoyable. Feel free to explore the various features and settings of our Rubik's Cube solver and let us know if you have any feedback or suggestions!</p>
<h1>About Rubik's Cubes</h1>


<!-- Changed heading from h1 to h2 for proper heading hierarchy -->
<h2 class="subheading">About Rubik's Cubes</h2>
<p>Welcome to the "About" page for Rubik's Cubes! Here, you'll find comprehensive information about Rubik's Cubes, including their history, basic concepts, solving methods, and more.</p>

<h2 class="subheading">History</h2>
<!-- Changed heading from h2 to h3 for proper heading hierarchy -->
<h3 class="subheading">History</h3>
<p>The Rubik's Cube, invented by Ernő Rubik in 1974, is a 3D combination puzzle that has fascinated millions of people worldwide. Originally called the "Magic Cube," it gained immense popularity after being licensed to the Ideal Toy Corporation in 1980 and rebranded as the "Rubik's Cube."</p>

<h2 class="subheading">Basic Concepts</h2>
<!-- Changed heading from h2 to h3 for proper heading hierarchy -->
<h3 class="subheading">Basic Concepts</h3>
<p>A standard Rubik's Cube consists of six faces, each covered by nine stickers of one of six solid colors: white, red, blue, orange, green, and yellow. The goal is to solve the cube by rotating the faces until each face is a solid color.</p>

<h2 class="subheading">Solving Methods</h2>
<!-- Changed heading from h2 to h3 for proper heading hierarchy -->
<h3 class="subheading">Solving Methods</h3>
<p class="subtopic">There are several methods for solving Rubik's Cube, including:</p>
<ul class="subtopic">
<li>Fridrich Method (CFOP)</li>
<li>BEGINNER Method</li>
<li>Roux Method</li>
<li>ZB Method</li>
<li>Fridrich Method (CFOP)</li>
<li>Beginner Method</li>
<li>Roux Method</li>
<li>ZB Method</li>
</ul>

<h2 class="subheading">Advanced Techniques</h2>
<!-- Changed heading from h2 to h3 for proper heading hierarchy -->
<h3 class="subheading">Advanced Techniques</h3>
<p class="subtopic">Advanced cubers often utilize techniques such as:</p>
<ul class="subtopic">
<li>OLL (Orientation of Last Layer)</li>
<li>PLL (Permutation of Last Layer)</li>
<li>F2L (First Two Layers)</li>
<li>X-Cross</li>
<li>OLLCP (OLL plus Corner Permutation)</li>
<li>OLL (Orientation of Last Layer)</li>
<li>PLL (Permutation of Last Layer)</li>
<li>F2L (First Two Layers)</li>
<li>X-Cross</li>
<li>OLLCP (OLL plus Corner Permutation)</li>
</ul>
<br>

<h2 class="subheading">Formulas and Algorithms</h2>
<br>
<div class="formula">
<h3>The Cross</h3>
<p>Formula: <code>F R U R' U' F'</code></p>
</div>
<div class="formula">
<h3>First Layer Corners</h3>
<p>Formula: <code>R U R' U R U2 R'</code></p>
</div>
<div class="formula">
<h3>Second Layer Edges (F2L)</h3>
<p>Formula: <code>R U R' U' R U' R'</code></p>
</div>
<div class="formula">
<h3>Orientation of Last Layer (OLL)</h3>
<p>Formula: <code>F R U R' U' F'</code></p>
</div>
<div class="formula">
<h3>Permutation of Last Layer (PLL)</h3>
<p>Formula: <code>R U2 R' U' R U R' U' R U' R'</code></p>
<!-- Changed heading from h2 to h3 for proper heading hierarchy -->
<h3 class="subheading">Formulas and Algorithms</h3>
<div class="formula">
<h4>The Cross</h4> <!-- Changed heading from h3 to h4 for proper hierarchy -->
<p>Formula: <code>F R U R' U' F'</code></p>
</div>
<div class="formula">
<h4>First Layer Corners</h4> <!-- Changed heading from h3 to h4 for proper hierarchy -->
<p>Formula: <code>R U R' U R U2 R'</code></p>
</div>
<div class="formula">
<h4>Second Layer Edges (F2L)</h4> <!-- Changed heading from h3 to h4 for proper hierarchy -->
<p>Formula: <code>R U R' U' R U' R'</code></p>
</div>
<div class="formula">
<h4>Orientation of Last Layer (OLL)</h4> <!-- Changed heading from h3 to h4 for proper hierarchy -->
<p>Formula: <code>F R U R' U' F'</code></p>
</div>
<div class="formula">
<h4>Permutation of Last Layer (PLL)</h4> <!-- Changed heading from h3 to h4 for proper hierarchy -->
<p>Formula: <code>R U2 R' U' R U R' U' R U' R'</code></p>
</div>
</div>
</div>
</div>

<footer class="footer">
<p class="text--footer">© 2024 Rubik-Cube</p>
</footer>
</body>
</html>
</html>
212 changes: 107 additions & 105 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,128 +1,130 @@
<!DOCTYPE html>
<html lang="en" >
<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">
<title>Rubik's Cube - Let's Solve!</title> <!-- Updated title for better SEO and relevance -->
<link rel="icon" type="image/x-icon" href="images/icon.png">

<!-- Improved viewport meta tag for better mobile experience -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!-- Added meta description for better SEO -->
<meta name="description" content="Join us in solving the Rubik's Cube! Discover various solving methods, track your stats, and improve your skills with our interactive Rubik's Cube solver.">

<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 -->

<!-- separate div element for the Google sign-in/log-in element -->
<!-- g_id_onload is for automatic loading of the Google Identity Services. -->
<div id="g_id_onload"
data-client_id="1056580552736-gos4t0nvaco0o3eq9v5tdaa1425qhhdu.apps.googleusercontent.com"

data-callback="handleCredentialResponse">
</div>
<!-- the data client id is the goggle o-auth secret client id. -->
<!-- g_id_signin is for rendering the Google Sign-In button. -->

<div class="g_id_signin" data-type="standard"></div>

<!-- Adding the Google Identity Services script to your HTML file. -->
<script src="https://accounts.google.com/gsi/client" async defer></script>

<!-- Added the script1.js file for initializing the Google Identity Services client and handle the sign-in process. -->
<script src="script1.js"></script>

<div class="ui">

<div class="ui__background"></div>

<div class="ui__game"></div>

<div class="ui__texts">
<h1 class="text text--title">
<span>Let's</span>
<span>Solve!</span>
</h1>
<div class="text text--note">
Double tap to start
</div>
<div class="text text--timer">
0:00
</div>
<div class="text text--complete">
<span>Complete!</span>
</div>
<div class="text text--best-time">
<icon trophy></icon>
<span>Best Time!</span>
</div>
</div>

<div class="ui__prefs">
<range name="size" title="Cube Size" list="2,3,4,5"></range>
<range name="flip" title="Flip Type" list="Swift&nbsp;,Smooth,Bounce"></range>
<range name="scramble" title="Scramble Length" list="20,25,30"></range>
<range name="fov" title="Camera Angle" list="Ortographic,Perspective"></range>
<range name="theme" title="Color Scheme" list="Cube,Erno,Dust,Camo,Rain"></range>
</div>

<div class="ui__theme">
<range name="hue" title="Hue" color></range>
<range name="saturation" title="Saturation" color></range>
<range name="lightness" title="Lightness" color></range>
data-client_id="1056580552736-gos4t0nvaco0o3eq9v5tdaa1425qhhdu.apps.googleusercontent.com"
data-callback="handleCredentialResponse">
</div>

<div class="ui__stats">
<div class="stats" name="cube-size">
<i>Cube:</i><b>3x3x3</b>
</div>
<div class="stats" name="total-solves">
<i>Total solves:</i><b>-</b>
</div>
<div class="stats" name="best-time">
<i>Best time:</i><b>-</b>
<!-- the data client id is the Google OAuth secret client id. -->
<!-- g_id_signin is for rendering the Google Sign-In button. -->
<div class="g_id_signin" data-type="standard"></div>

<!-- Adding the Google Identity Services script to your HTML file. -->
<script src="https://accounts.google.com/gsi/client" async defer></script>

<!-- Added the script1.js file for initializing the Google Identity Services client and handle the sign-in process. -->
<script src="script1.js"></script>

<div class="ui">
<div class="ui__background"></div>
<div class="ui__game"></div>

<div class="ui__texts">
<h1 class="text text--title">
<span>Let's</span>
<span>Solve!</span>
</h1>
<div class="text text--note">
Double tap to start
</div>
<div class="text text--timer">
0:00
</div>
<div class="text text--complete">
<span>Complete!</span>
</div>
<div class="text text--best-time">
<i class="fas fa-trophy"></i> <!-- Changed icon tag to use Font Awesome -->
<span>Best Time!</span>
</div>
</div>
<div class="stats" name="worst-time">
<i>Worst time:</i><b>-</b>

<div class="ui__prefs">
<range name="size" title="Cube Size" list="2,3,4,5"></range>
<range name="flip" title="Flip Type" list="Swift&nbsp;,Smooth,Bounce"></range>
<range name="scramble" title="Scramble Length" list="20,25,30"></range>
<range name="fov" title="Camera Angle" list="Ortographic,Perspective"></range>
<range name="theme" title="Color Scheme" list="Cube,Erno,Dust,Camo,Rain"></range>
</div>
<div class="stats" name="average-5">
<i>Average of 5:</i><b>-</b>

<div class="ui__theme">
<range name="hue" title="Hue" color></range>
<range name="saturation" title="Saturation" color></range>
<range name="lightness" title="Lightness" color></range>
</div>
<div class="stats" name="average-12">
<i>Average of 12:</i><b>-</b>

<div class="ui__stats">
<div class="stats" name="cube-size">
<i>Cube:</i><b>3x3x3</b>
</div>
<div class="stats" name="total-solves">
<i>Total solves:</i><b>-</b>
</div>
<div class="stats" name="best-time">
<i>Best time:</i><b>-</b>
</div>
<div class="stats" name="worst-time">
<i>Worst time:</i><b>-</b>
</div>
<div class="stats" name="average-5">
<i>Average of 5:</i><b>-</b>
</div>
<div class="stats" name="average-12">
<i>Average of 12:</i><b>-</b>
</div>
<div class="stats" name="average-25">
<i>Average of 25:</i><b>-</b>
</div>
</div>
<div class="stats" name="average-25">
<i>Average of 25:</i><b>-</b>

<div class="ui__buttons">
<button class="btn btn--bl btn--stats">
<i class="fas fa-trophy"></i> <!-- Changed icon tag to use Font Awesome -->
</button>
<button class="btn btn--br btn--prefs">
<i class="fas fa-cogs"></i> <!-- Changed icon tag to use Font Awesome -->
</button>
<button class="btn btn--tl btn--back">
<i class="fas fa-arrow-left"></i> <!-- Changed icon tag to use Font Awesome -->
</button>
<button class="btn btn--br btn--theme">
<i class="fas fa-palette"></i> <!-- Changed icon tag to use Font Awesome -->
</button>
<button class="btn btn--br btn--reset">
<i class="fas fa-redo"></i> <!-- Changed icon tag to use Font Awesome -->
</button>
<button class="btn btn--tr fa-solid fa-volume-high" id="play-btn">
</div>
</div>

<div class="ui__buttons">
<button class="btn btn--bl btn--stats">
<icon trophy></icon>
</button>
<button class="btn btn--br btn--prefs">
<icon settings></icon>
</button>
<button class="btn btn--tl btn--back">
<icon back></icon>
</button>
<button class="btn btn--br btn--theme">
<icon theme></icon>
</button>
<button class="btn btn--br btn--reset">
<icon reset></icon>
</button>
<button class="btn btn--tr fa-solid fa-volume-high" id="play-btn">
<!-- 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>

<!-- 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>

<!-- partial -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/three.js/95/three.min.js'></script>
<script src="./script.js"></script>
</body>
</html>