Skip to content

Commit

Permalink
Merge pull request #89 from nihalsaran/main
Browse files Browse the repository at this point in the history
Test Captial T
  • Loading branch information
ishantdei authored Oct 27, 2024
2 parents 07e2613 + 5879f10 commit f01aaa8
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 15 deletions.
29 changes: 14 additions & 15 deletions experiment/simulation/LettersPage/CapT/T.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@ body {

display: none;
position: absolute;
top: 5px;
left: 194px;
width: 15px;
height: 160px;
top: -41px;
left: 193px;
width: 11px;
height: 220px;
transform: rotate(90deg);


Expand All @@ -77,10 +77,10 @@ body {
#stroke2 {
display: none;
position: absolute;
top: 79px;
top: 65px;
left: 195px;
width: 15px;
height: 240px;
height: 332px;
transform: rotate(180deg);
z-index: -1;

Expand Down Expand Up @@ -112,21 +112,20 @@ body {

#sbox {
position: relative;
left: 93px;
width: 450px;
left: 115px;
width: 400px;
height: 400px;
z-index: -10;
top: 5px;
z-index: -2;
display: none;
}

#trace {
position: relative;
top: -15px;
right: 225px;
width: 300px;
height: 220px;
bottom: 15px;
right: 93px;
width: 600px;
height: 450px;
z-index: -10;

}

.arrrow1 {
Expand Down
64 changes: 64 additions & 0 deletions experiment/simulation/LettersPage/CapT/T.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&amp;family=Raleway&amp;display=swap"
rel="stylesheet" />
<link rel="icon" href="images/favicon.ico" />
<link rel="stylesheet" href="/experiment/simulation/css/header.css" />

<link rel="stylesheet" href="T.css" />


<title>Virtual Labs</title>
</head>

<body>


<div class="simulation-container">

<h2 class="title">Lettering</h2>
<h3 class="instruction-main"> Letter T</h3>

<h1 class="rules">Rules-</h1>
<p class="rule">1] Draw the line in the direction of the arrow on the trace of the letter.</p>
<p class="rule">2] To draw, click on the starting point and drag the cursor to end point .</p>







<div id="canvas-container">
<canvas id="canvas" width="400" height="400"></canvas>
<div class="dot" id="dot3" style="top: 69px; left: 94px;"></div> <!-- first line top dot-->
<div class="dot4" id="dot4" style="top: 69px; left: 202px;"></div>
<div class="dot1" id="dot1" style="top: 392px; left: 202px;"></div> <!-- first line bottom dot-->
<div class="dot" id="dot5" style="top: 69px; left: 305px;"></div>
<img id="sbox" src="sboxx.png">
<img id="trace" src="t-new.png">
<img class="arrrow1" id="arrow1" src="without-bg.gif" alt="Overlay Image">
<img class="arrrow2" id="arrow2" src="without-bg.gif" alt="Overlay Image">

<img id="stroke1" src="stroke1.png">
<img id="stroke2" src="stroke1.png">

</div>
<h1 class="congrats" id="congrats">Congrats you have learnt to draw Letter T</h1>

<a href="../../Uppercase.html">
<button class="next-exp" id="button">Next Letter</button>
</a>

</div>
<!-- Your code goes here-->

<!-- Add JS at the bottom of HTML file -->
<script src="T.js"></script>
</body>

</html>
Binary file added experiment/simulation/LettersPage/CapT/t-new.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f01aaa8

Please sign in to comment.