Skip to content

Hello #5

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

Open
wants to merge 37 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
38e6046
Here is my first HTML file
SunhyNguyen Mar 13, 2025
259e410
a little change in the index.html file
SunhyNguyen Mar 13, 2025
8d5635c
hello world
SunhyNguyen Mar 14, 2025
c0ed94b
add title
SunhyNguyen Mar 14, 2025
0d48259
Organize images in Practice folder
SunhyNguyen Mar 14, 2025
50c17c5
add image to html
SunhyNguyen Mar 14, 2025
9d7a413
Add some images
SunhyNguyen Mar 14, 2025
457ab52
Some small adjustments
SunhyNguyen Mar 14, 2025
7e33dc9
Add all images
SunhyNguyen Mar 14, 2025
b675b76
Add div for terrium and organize the code
SunhyNguyen Mar 14, 2025
baff322
Practice
SunhyNguyen Mar 14, 2025
13449e1
Upgrade
SunhyNguyen Mar 14, 2025
ff8b8e8
I do not know how to describe
SunhyNguyen Mar 14, 2025
0ed8a22
tttt
SunhyNguyen Mar 14, 2025
91ddc8c
77777
SunhyNguyen Mar 14, 2025
25490d3
r55
SunhyNguyen Mar 14, 2025
0ab4e7a
changes the font
SunhyNguyen Mar 14, 2025
26fe831
New font
SunhyNguyen Mar 14, 2025
20c55cb
80
SunhyNguyen Mar 14, 2025
7dc6872
2
SunhyNguyen Mar 14, 2025
88778c2
The header can change color to pink
SunhyNguyen Mar 15, 2025
ed3a8b6
I totally copy everything from the example code
SunhyNguyen Mar 15, 2025
36dc8e3
I do not know what I just change
SunhyNguyen Mar 15, 2025
1b377a6
My finish css file
SunhyNguyen Mar 15, 2025
250b8ad
Rearrange the file
SunhyNguyen Mar 15, 2025
d383229
Make a new practice
SunhyNguyen Mar 16, 2025
7fa5658
erase things
SunhyNguyen Mar 16, 2025
cf740cc
I made a new practice file for CSS and HTML
SunhyNguyen Mar 16, 2025
afe8216
move a file to another file
SunhyNguyen Mar 16, 2025
bbc23ee
done javascript
SunhyNguyen Mar 16, 2025
7a77ee9
practice
SunhyNguyen Mar 16, 2025
bb27e19
finish practice 2
SunhyNguyen Mar 17, 2025
c2bcb0e
here we go
SunhyNguyen Mar 17, 2025
ee00e95
Make a typing practice page
SunhyNguyen Mar 17, 2025
c7ac687
Typing page practice
SunhyNguyen Mar 17, 2025
fcf8b25
space game Practice_space_game
SunhyNguyen Mar 18, 2025
df174b1
Practice_space_game
SunhyNguyen Mar 19, 2025
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
17 changes: 17 additions & 0 deletions Practice_space_game/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>

<html>
<head>
<title>Space Game</title>
<meta charset="UTF-8"/>
<script src="" defer></script>
</head>

<body>
<p>Image to use:</p>
<p>Canvas:</p>
<canvas id="myCanvas" width="1024" height="768" style="border:1px solid #d3d3d3">
Your browser does not support the HTML5 canvas tag.
</canvas>
</body>
</html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/enemyShip.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/enemyUFO.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/laserGreen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/laserRed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/laserRedShot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/life.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/meteorBig.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/meteorSmall.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/playerLeft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/playerRight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/png/shield.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions Practice_space_game/spaceArt/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---

Space Shooter graphics by Kenney Vleugels (www.kenney.nl)

You may use these graphics in personal and commercial projects.
Credit (www.kenney.nl) would be nice but is not mandatory.

--
951 changes: 951 additions & 0 deletions Practice_space_game/spaceArt/spaceArt.ai

Large diffs are not rendered by default.

157 changes: 157 additions & 0 deletions Practice_space_game/spaceArt/spaceArt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Practice_space_game/spaceArt/spaceArt.swf
Binary file not shown.
Binary file added Practice_space_game/spritesheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/02-html/Practice/images/plant1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/02-html/Practice/images/plant10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/02-html/Practice/images/plant11.png
Binary file added docs/02-html/Practice/images/plant12.png
Binary file added docs/02-html/Practice/images/plant13.png
Binary file added docs/02-html/Practice/images/plant14.png
Binary file added docs/02-html/Practice/images/plant2.png
Binary file added docs/02-html/Practice/images/plant3.png
Binary file added docs/02-html/Practice/images/plant4.png
Binary file added docs/02-html/Practice/images/plant5.png
Binary file added docs/02-html/Practice/images/plant6.png
Binary file added docs/02-html/Practice/images/plant7.png
Binary file added docs/02-html/Practice/images/plant8.png
Binary file added docs/02-html/Practice/images/plant9.png
157 changes: 157 additions & 0 deletions docs/02-html/Practice/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
<!DOCTYPE html>

<html lang="en">
<head>
<title>Welcome to my Virtual Terrarium</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="" />
<script src="" defer></script>
</head>

<body>
<h1>My Terrarium</h1>

<div id="page">
<div id="left-container" class="container">
<div class="plant-holder">
<img
class="plant"
id="plant1"
alt="A small plant"
src="./images/plant1.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant2"
alt="A small cactus plant"
src="./images/plant2.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant3"
alt="A small pink plant"
src="./images/plant3.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant4"
alt="A small lush plant"
src="./images/plant4.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant5"
alt="A long plant"
src="./images/plant5.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant6"
alt="A plant"
src="./images/plant6.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant7"
alt="A plant"
src="./images/plant7.png"
/>
</div>
</div>

<div id="right-container" class="container">
<div class="plant-holder">
<img
class="plant"
id="plant8"
alt="A plant"
src="./images/plant8.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant9"
alt="A plant"
src="./images/plant9.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant10"
alt="A plant"
src="./images/plant10.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant11"
alt="A plant"
src="./images/plant11.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant12"
alt="A plant"
src="./images/plant12.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant13"
alt="A plant"
src="./images/plant13.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant14"
alt="A plant"
src="./images/plant14.png"
/>
</div>
</div>

<div id="terrarium">
<div class="jar-top"></div>
<div class="jar-walls">
<div class="jar-glossy-long"></div>
<div class="jar-glossy-short"></div>
<div class="dirt"></div>
<div class="jar-bottom"></div>
</div>
</div>
</div>
</body>
</html>
157 changes: 157 additions & 0 deletions docs/02-html/Practice/index_1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
<!DOCTYPE html>

<html lang="en">
<head>
<title>Welcome to my Virtual Terrarium</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="" />
<script src="" defer></script>
</head>

<body>
<h1>My Terrarium</h1>

<div id="page">
<div id="left-container" class="container">
<div class="plant-holder">
<img
class="plant"
id="plant1"
alt="A small plant"
src="./images/plant1.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant2"
alt="A small cactus plant"
src="./images/plant2.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant3"
alt="A small pink plant"
src="./images/plant3.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant4"
alt="A small lush plant"
src="./images/plant4.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant5"
alt="A long plant"
src="./images/plant5.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant6"
alt="A plant"
src="./images/plant6.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant7"
alt="A plant"
src="./images/plant7.png"
/>
</div>
</div>

<div id="right-container" class="container">
<div class="plant-holder">
<img
class="plant"
id="plant8"
alt="A plant"
src="./images/plant8.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant9"
alt="A plant"
src="./images/plant9.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant10"
alt="A plant"
src="./images/plant10.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant11"
alt="A plant"
src="./images/plant11.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant12"
alt="A plant"
src="./images/plant12.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant13"
alt="A plant"
src="./images/plant13.png"
/>
</div>

<div class="plant-holder">
<img
class="plant"
id="plant14"
alt="A plant"
src="./images/plant14.png"
/>
</div>
</div>

<div id="terrarium">
<div class="jar-top"></div>
<div class="jar-walls">
<div class="jar-glossy-long"></div>
<div class="jar-glossy-short"></div>
</div>
<div class="dirt"></div>
<div class="jar-bottom"></div>
</div>
</div>
</body>
</html>
Loading