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

Feature #2

Merged
merged 4 commits into from
Jul 4, 2018
Merged
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
Binary file removed 447361.jpg
Binary file not shown.
Binary file removed IMG_178532.jpg
Binary file not shown.
Binary file removed download.jpg
Binary file not shown.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions lec0/variables.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions lec1/app.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
$color:red;

.grid{
background-color: $color;
display: grid;
padding: 20px;
grid-column-gap: 20px;
grid-row-gap: 10px;
grid-template-columns: 200px 200px auto;
}
.grid-item{
background-color: white;
font-size: 20px;
}

%massage{
background-color: greenyellow;
}
.grid{
@extend %massage;
border: 20px;
}
13 changes: 0 additions & 13 deletions lec1/index.html

This file was deleted.

119 changes: 119 additions & 0 deletions lec1/responsive.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Grid</title>
<link rel="stylesheet" href="variables.css">
</head>
<body>
<div class="grid">
<div class="grid-item">1</div>
<div class="grid-item">2</div>
<div class="grid-item">3</div>
<div class="grid-item">4</div>
<div class="grid-item">5</div>
<div class="grid-item">6</div>
<div class="grid-item">7</div>
<div class="grid-item">8</div>
<div class="grid-item">9</div>
<div class="grid-item">10</div>
<div class="grid-item">11</div>
<div class="grid-item">12</div>
</div>
</body>
</html>

<!-- <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>responsive</title>
<style>
@media print{
.screen-only{
display: none;
}
}
@media(min-width: 500px){
body{
background-color: red;
}
h1::before{
content: "wlecome !";
}
}
@media(max-width:499px){
body{
background-color: blue;
}
h1::before{
content: "hi";
}
}
p::selection{
background-color: white;
color :green;
}
h1:hover{
background-color: aqua;
}
</style>
</head>
<body>
<h1></h1>
<p>This is a paragraph</p>
<p>this is another one</p>
<p class="screen-only">this a patagraph not print</p>
</body>
</html> -->

<!-- <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
.container .row{
display:flex;
flex-wrap: wrap;
}
.card{
background-color: springgreen;
font-size: 20px;
margin: 20px;
padding:20px;
width: 200px;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="card">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi blanditiis beatae accusamus ducimus consequuntur itaque dicta officia voluptatem distinctio quia, provident sunt soluta doloribus animi fugit quod, facilis repellendus deleniti?
</div>
<div class="card">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi blanditiis beatae accusamus ducimus consequuntur itaque dicta officia voluptatem distinctio quia, provident sunt soluta doloribus animi fugit quod, facilis repellendus deleniti?
</div>
<div class="card">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi blanditiis beatae accusamus ducimus consequuntur itaque dicta officia voluptatem distinctio quia, provident sunt soluta doloribus animi fugit quod, facilis repellendus deleniti?
</div>
<div class="card">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi blanditiis beatae accusamus ducimus consequuntur itaque dicta officia voluptatem distinctio quia, provident sunt soluta doloribus animi fugit quod, facilis repellendus deleniti?
</div>
<div class="card">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Commodi blanditiis beatae accusamus ducimus consequuntur itaque dicta officia voluptatem distinctio quia, provident sunt soluta doloribus animi fugit quod, facilis repellendus deleniti?
</div>

</div>

</div>
</body>
</html> -->
63 changes: 63 additions & 0 deletions lec1/selectors.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
input[type="text"]{
background-color: aqua;
}
button{
width: 200px;
height: 50px;
font-size: 24px;
background-color: green;
}
button:hover{
background-color: orangered;
}
a::before{
content: "\21d2 click here: ";
font-weight: bold;
}
p::selection {
color: red;
background-color: yellow;
}
</style>
</head>
<body>
<div>
<input type="text" name="name" placeholder="name">
<input type="password" name="password" placeholder="password">
</div>
<div>
favurite color?
<input type="radio" name="color" value="red">RED
<input type="radio" name="color" value="green">green
<input type="radio" name="color" value="blue">blue
<input type="radio" name="color" value="other">other
</div>
<div>
<input name="country" placeholder="Country" list="countries">
<datalist id="countries">
<option value="afghan"></option>
<option value="alg"></option>
<option value="angola"></option>
<option value="usa"></option>

</datalist>
</div>
<div>
<button >click me!</button>
</div>
<ul>
<li><a href="#">one link</a></li>
<li><a href="#">second link</a></li>
<li><a href="#">third link</a></li>
</ul>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatibus maiores ipsam similique modi, aliquid fuga ducimus praesentium rerum natus quaerat. Ducimus doloribus voluptates excepturi autem error rerum eveniet soluta magni.</p>
</body>
</html>
23 changes: 23 additions & 0 deletions lec1/variables.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lec1/variables.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions lec_2/hello.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print()
3 changes: 3 additions & 0 deletions project0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Project 0

Web Programming with Python and JavaScript
58 changes: 58 additions & 0 deletions project0/bio.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>bio</title>
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="card col-lg-3 col-md-6 col-sm-12" style="width: 18rem;">
<img class="card-img-top" src="small-pictures-4-small-business-hub-gosmallbusiness.jpg" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
<div class="card col-lg-3 col-md-6 col-sm-12" style="width: 18rem;">
<img class="card-img-top" src="small-pictures-4-small-business-hub-gosmallbusiness.jpg" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
<div class="card col-lg-3 col-md-6 col-sm-12" style="width: 18rem;">
<img class="card-img-top" src="small-pictures-4-small-business-hub-gosmallbusiness.jpg" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
<div class="card col-lg-3 col-md-6 col-sm-12" style="width: 18rem;">
<img class="card-img-top" src="small-pictures-4-small-business-hub-gosmallbusiness.jpg" alt="Card image cap">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-text">Some quick example text to build on the card title and make up the bulk of the card's content.</p>
<a href="#" class="btn btn-primary">Go somewhere</a>
</div>
</div>
</div>
</div>

</body>
<footer>
<div class="links" style="display: flex; justify-content: center ">
<a href="notindex.html" style="margin: 20px;">notindex</a>
<a href="index.html" style="margin: 20px;">Main Page</a>
<a href="skills.html" style="margin: 20px;">Skills</a>
<a href="projects.html" style="margin: 20px;">projects</a>
</div>
</footer>
</html>
7 changes: 7 additions & 0 deletions project0/bootstrap.min.css

Large diffs are not rendered by default.

Binary file added project0/gettyimages-758591537.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions project0/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>My Webpage</title>
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="p1">
<p class="pargraph">Lorem ipsum dolor sit, amet consectetur adipisicing elit.</p>
<div class="inner_p1">
<p class="inner_p1_class">hello and welcome</p>
<p id="inner_p1_pargraph">Dolorem consequuntur magni excepturi, nihil rerum voluptate molestias a,</p>
</div>
<p>minus praesentium sed vel quidem ea temporibus tenetur architecto modi assumenda nobis perferendis.</p>
<p>minus praesentium sed vel quidem ea temporibus tenetur architecto modi assumenda nobis perferendis.</p>
<input type="text" name="text" placeholder="text">
</div>
</body>
<footer>
<div class="links" style="display: flex; justify-content: center ">
<a href="notindex.html" style="margin: 20px;">notindex</a>
<a href="skills.html" style="margin: 20px;">Skills</a>
<a href="projects.html" style="margin: 20px;">Projects</a>
<a href="bio.html" style="margin: 20px;">Bio</a>
</div>
</footer>
</html>
21 changes: 21 additions & 0 deletions project0/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions project0/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading