Skip to content

Commit

Permalink
26th lesson end
Browse files Browse the repository at this point in the history
  • Loading branch information
Zokirkhon1002 committed Jun 14, 2023
1 parent 954d2da commit af4762a
Show file tree
Hide file tree
Showing 4 changed files with 154 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 23-lesson/homework/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</style>
</head>
<body>
<a class="back__btn" href="../index.html">Back to main file</a>
<a class="back__btn" href="../../index.html">Back to main file</a>
<header>
<div class="header_inner" id="header_inner">
<h1 id="home">
Expand Down
74 changes: 74 additions & 0 deletions 26-lesson/css/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/* RESET */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

/* VARIABLES */
:root {
--primary-color: #27374d;
--purple: #651fff;
--purple-light: rgb(231, 26, 187);
--lightblue: rgb(137, 137, 175);
--yellow-light: #ffc107;
--header-bg-color: #b0bec5;
--primary-width: 80%;
--white: #fff;
--gray: #eee;
--bisque-light: rgb(248, 238, 225);
--gray-light: #b0bec5;
--gray-light2: rgb(239, 228, 234);
--gray-dark: #a7a7a7;
--gray-dark2: gray;
--black: #000;
--bisque: bisque;
}

/* HTML */
html {
scroll-behavior: smooth;
}

/* BODY */
body {
display: flex;
flex-direction: column;
min-height: 100vh;
justify-content: space-between;
}

/* GENERAL */
header,
main,
footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
}

.header_inner,
.main_inner,
.footer_inner {
max-width: var(--primary-width);
}

/* HEADER */
header {
min-height: 10vh;
background: var(--gray-light);
}

/* MAIN */
main {
background: var(--purple);
flex-grow: 1;
}

/* FOOTER */
footer {
min-height: 10vh;
background: var(--gray-light);
}
74 changes: 74 additions & 0 deletions 26-lesson/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Kotibkhonov Zokirkhon" />
<title>26-lesson</title>
<link rel="stylesheet" href="./css/index.css">
<style>
.next-lesson {
display: flex;
flex-direction: column;
border: 1px solid #f00;
padding: 1rem;
margin-top: 10rem;
}
.next-lesson a {
display: inline-block;
padding: 1rem;
color: #00f;
border-radius: 10px;
}
.back__btn:any-link {
border: 1px solid #00f;
}
</style>
</head>
<body>

<header>
<div class="header_inner">
<h1>Header</h1>
</div>
</header>

<main>
<div class="main_inner">
<h1>Main</h1>
</div>
</main>

<footer>
<div class="footer_inner">
<h1>Footer</h1>
</div>
</footer>
















<!-- <div class="next-lesson">
<h1 style="border: none; text-align: center">New html Files</h1>
<a class="back__btn" href="./remExamples.html">units Rem examples Click me to see:)</a>
<a class="back__btn" href="./vwExamples.html">vwExamples click me to see:)</a>
<a class="back__btn" href="./166-page.html">166-page example cLick me to see :)</a>
<a class="back__btn" href="./163-172-pages.html"
>163-172-pages example cLick me to see :)</a
>
</div> -->
</body>
</html>
5 changes: 5 additions & 0 deletions main/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ let allPaths = [
name: "lesson(2023.06.12)",
path: "./25-lesson/index.html",
},
{
id: "26",
name: "lesson(2023.06.14)",
path: "./26-lesson/index.html",
},
];

window.addEventListener("load", () => {
Expand Down

0 comments on commit af4762a

Please sign in to comment.