0
How to view my saved code?
So after saving code i have written in the code playground, and closing the app, where do i find that code again to edit it after reopening the app?
7 Réponses
+ 3
go to Code Playground - > My Codes (tab)
+ 2
Click on most recent and there is my code or smth.
+ 2
Press the "{}" tab, which is at the right of the "home" tab.
At the search bar, there will be a dropdown list (which will be set to "Hot Today" by default), from which, you select "My Codes".
0
When i click the Code playground it only shows me popular code, and the button to create new code...
0
<!DOCTYPE html>
<html>
<head>
<title>Permainan Menembak</title>
<style>
body {
text-align: center;
padding-top: 100px;
font-family: Arial, sans-serif;
}
#gameArea {
width: 400px;
height: 300px;
margin: 0 auto;
border: 1px solid black;
position: relative;
}
#target {
width: 30px;
height: 30px;
background-color: red;
border-radius: 50%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
cursor: pointer;
}
#score {
margin-top: 20px;
}
</style>
</head>
<body>
<h1>Permainan Menembak</h1>
<div id="gameArea">
<div id="target"></div>
</div>
<p id="score">Skor: 0</p>
<script>
var score = 0;
document.getElementById("target").addEventListener("click", function() {
score++;
document.getElementById("score").innerHTML = "Skor: " + score;
moveTarget();
});
function moveTarget(
0
ashutosh.html
- 1
Divya.html