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

created my own folder and html & css files #4

Open
wants to merge 1 commit into
base: master
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
43 changes: 43 additions & 0 deletions arezoo/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="Arezoo" content="Arezoo Faraji" />
<meta
name="viewport"
content="this website is just an exercise to practice the basic html Structute"
/>
<link rel="stylesheet" href="style.css" />
<title>Basic Structute Practice</title>
</head>
<body>
<h1 class="tooltip">
<!-- this is an HTML exercise heading1 -->
this is the most important headline
<span class="tooltiptext">heading1</span>
</h1>
<p class="paraghraph">it is my first exercise</p>
<h2 class="tooltip">
<!-- heading2 -->
this heading is a little less important
<span class="tooltiptext">heading2</span>
</h2>
<p class="paraghraph">I live in Berlin</p>
<h3 class="tooltip">
<!-- heading3 -->
this heading is even less important than the one above
<span class="tooltiptext">heading3</span>
</h3>
<p class="paraghraph">DCI Berlin Landsberger alle</p>
<pre class="ascii-img">
/**********************************
*__ __ _ _ _ *
*\ \ / /__| |__ | | | |_ __ *
* \ \ /\ / / _ \ '_ \| | | | '_ \ *
* \ V V / __/ |_) | |_| | |_) |*
* \_/\_/ \___|_.__/ \___/| .__/ *
* |_| *
***********************************/
</pre>
</body>
</html>
23 changes: 23 additions & 0 deletions arezoo/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.tooltip {
position: relative;
text-align: center;
}
.tooltip .tooltiptext {
visibility: hidden;
width: 150px;
background-color: plum;
color: rebeccapurple;
text-align: center;
position: absolute;
}
.tooltip:hover .tooltiptext {
visibility: visible;
}

.paraghraph {
text-align: center;
}

.ascii-img {
text-align: center;
}