-
Notifications
You must be signed in to change notification settings - Fork 1
tasks done by Karam Karim #4
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
b6fe196
aac18b6
6ff5f32
b626166
0192174
33c0a15
dde7fcf
0c208c8
97caf59
49d3cbb
bfea96a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| window.onload = () => { | ||
| /* | ||
| internet is really slow, I can't install live dev server, | ||
| so i'm using this instead; | ||
| */ | ||
| setTimeout(a => location.reload(true), 2000); | ||
|
|
||
| }; | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,74 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>task 1</title> | ||
| <link rel="stylesheet" href="./style.css"> | ||
| </head> | ||
| <body> | ||
|
|
||
| <div class="container"> | ||
|
|
||
| <div class="header"> | ||
| <h2>Select youre preferred language</h2> | ||
| <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Rerum eveniet enim quos amet molestias, harum?</p> | ||
| </div> | ||
|
|
||
| <div class="body"> | ||
|
|
||
| <div class="langs"> | ||
|
|
||
| <span> | ||
| <input type="checkbox" name="" id="php"> | ||
| <label for="php">php</label> | ||
| </span> | ||
|
|
||
| <span> | ||
| <input type="checkbox" name="" id="c"> | ||
| <label for="c">c</label> | ||
| </span> | ||
|
|
||
| <span> | ||
| <input type="checkbox" name="" id="cpp"> | ||
| <label for="cpp">c++</label> | ||
| </span> | ||
|
|
||
| <span> | ||
| <input type="checkbox" name="" id="python"> | ||
| <label for="python">python</label> | ||
| </span> | ||
|
|
||
| <span> | ||
| <input type="checkbox" name="" id="javascript"> | ||
| <label for="javascript">javascript</label> | ||
| </span> | ||
|
|
||
| <span> | ||
| <input type="checkbox" name="" id="csharp"> | ||
| <label for="csharp">c#</label> | ||
| </span> | ||
|
|
||
| <span> | ||
| <input type="checkbox" name="" id="java"> | ||
| <label for="java">java</label> | ||
| </span> | ||
|
|
||
| <span> | ||
| <input type="checkbox" name="" id="r"> | ||
| <label for="r">r</label> | ||
| </span> | ||
|
|
||
| </div> | ||
|
|
||
| <div class="buttons"> | ||
| <a href="#">go back</a> | ||
| <a href="#">procced</a> | ||
| </div> | ||
|
|
||
| </div> | ||
|
|
||
| </div> | ||
|
|
||
| </body> | ||
|
|
||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,100 @@ | ||
| body{ | ||
| margin: 0; | ||
| padding: 0; | ||
| background-color: rgb(228,229,231); | ||
| font-family: monospace; | ||
| font-size: 1.5em; | ||
| } | ||
|
|
||
| .container{ | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .container > .header{ | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| margin: 20px; | ||
| } | ||
|
|
||
| .container > .header > h2, .container > .header > p{ | ||
|
||
| color: rgb(83,82,82); | ||
| font-weight: bold; | ||
| } | ||
|
|
||
| .container > .header > p { | ||
| font-size: 0.7em; | ||
| width: 70%; | ||
| } | ||
|
|
||
|
|
||
| .container > .body{ | ||
| display: flex; | ||
| flex-direction: column; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .container > .body > .langs { | ||
| display: flex; | ||
| flex-wrap: wrap; | ||
| width: 70%; | ||
| } | ||
|
|
||
| .container > .body > .langs > span { | ||
|
||
| display: block; | ||
| margin: .5em 1em; | ||
| } | ||
|
|
||
| .container > .body > .langs > span > label{ | ||
|
||
| display: block; | ||
| background-color: rgb(241,242,241); | ||
| color: #000; | ||
| padding: .8em 2em; | ||
| border-radius: 5px; | ||
| transition: all ease-in .2s; | ||
| cursor: pointer; | ||
| } | ||
|
|
||
| .container > .body > .langs > span > input[type="checkbox"]:checked + label{ | ||
|
||
| background-color: rgb(20,223,223); | ||
| color: #fff; | ||
| transition: all ease-in .2s; | ||
| } | ||
|
|
||
| .container > .body > .buttons{ | ||
| width: 100%; | ||
| display: flex; | ||
| flex-direction: row; | ||
| justify-content: center; | ||
| padding: 2em 1em; | ||
| } | ||
|
|
||
| .container > .body > .buttons > a{ | ||
|
||
| color: rgb(167,167,167); | ||
| text-decoration: none; | ||
| padding: 1em 3.5em; | ||
| border: 1px solid rgb(161,196,139); | ||
| margin: 0 1em; | ||
| border-radius: 30px; | ||
| outline: none; | ||
| transition: background-color linear .2s; | ||
| } | ||
|
|
||
| .container > .body > .buttons > a:active{ | ||
| background-color: rgb(161,196,139); | ||
| color:#fff; | ||
| } | ||
|
|
||
| .container > .body > .buttons > a:nth-child(1){ | ||
| text-transform: capitalize; | ||
| } | ||
|
|
||
| .container > .body > .buttons > a:nth-child(2){ | ||
| text-transform: uppercase; | ||
| } | ||
|
|
||
| input[type="checkbox"]{ | ||
| display: none; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>task 2</title> | ||
| <link rel="stylesheet" href="./style.css"> | ||
| </head> | ||
| <body> | ||
| <div class="container"> | ||
| <h2 class="header">Sign up</h2> | ||
|
|
||
| <div class="input"> | ||
| <p>First name</p> | ||
| <input type="text" placeholder="John..."> | ||
| </div> | ||
|
|
||
| <div class="input"> | ||
| <p>Last name</p> | ||
| <input type="text" placeholder="Doe..."> | ||
| </div> | ||
|
|
||
| <div class="input"> | ||
| <p>E-mail</p> | ||
| <input type="email" placeholder="mail@whilehouse.gov"> | ||
| </div> | ||
|
|
||
| <div class="input"> | ||
| <p>Country</p> | ||
| <select name="" id=""> | ||
| <option value="" disabled selected> Select </option> | ||
| <option value="">country 1</option> | ||
| <option value="">country 2</option> | ||
| <option value="">country 3</option> | ||
| <option value="">country 4</option> | ||
| <option value="">country 5</option> | ||
| <option value="">country 6</option> | ||
| <option value="">country 7</option> | ||
| <option value="">country 8</option> | ||
| </select> | ||
| </div> | ||
| <div class="input"> | ||
| <p>Timezone</p> | ||
| <select name="" id=""> | ||
| <option value="" disabled selected> Select </option> | ||
| <option value="">timezone 1</option> | ||
| <option value="">timezone 2</option> | ||
| <option value="">timezone 3</option> | ||
| <option value="">timezone 4</option> | ||
| </select> | ||
| </div> | ||
|
|
||
| </div> | ||
| <!-- <script src="../reload.js" charset="utf-8"></script> --> | ||
| </body> | ||
| </html> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,63 @@ | ||
| body{ | ||
| margin: 0; | ||
| padding: 0; | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| padding-top: 3em; | ||
| font-family: Open Sans; | ||
| } | ||
|
|
||
|
|
||
| .container { | ||
| padding: 2em; | ||
| } | ||
|
|
||
| .container > .header{ | ||
| font-size: 2em; | ||
| margin: 0; | ||
| } | ||
|
|
||
| .container > .input { | ||
| display: flex; | ||
| margin: 2em 0; | ||
| justify-content: space-between; | ||
| } | ||
|
|
||
| .container > .input > p{ | ||
| text-align: left; | ||
| font-weight: bold; | ||
| margin: 0 1em; | ||
| line-height: 2.8em; | ||
| align-items: center; | ||
| } | ||
|
|
||
| .container > .input > input[type="text"] , | ||
| .container > .input > input[type="email"]{ | ||
| border: none; | ||
| padding: 1em; | ||
| padding-left: 0 !important; | ||
| background-color: transparent; | ||
| border-bottom: 2px solid lightgrey; | ||
| transition: all linear .3s; | ||
| } | ||
|
|
||
| .container > .input > input[type="text"]:focus , | ||
| .container > .input > input[type="email"]:focus{ | ||
| border-color: grey; | ||
| } | ||
|
|
||
| .container > .input > select{ | ||
| width: 69%; | ||
| background-color: transparent; | ||
| border: none; | ||
| border-bottom: 2px solid lightgrey; | ||
| color: grey; | ||
| -webkit-appearance: none; | ||
| -moz-appearance: none; | ||
| appearance: none; | ||
| background-image: url(arrow-down.png); | ||
| background-position: right; | ||
| background-repeat: no-repeat; | ||
| background-size: 10px; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| <!DOCTYPE html> | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8"> | ||
| <title>task 3</title> | ||
| <link rel="stylesheet" href="./style.css"> | ||
| </head> | ||
| <body> | ||
|
|
||
| <div class="container"> | ||
| <ui class="dropdown" data-text="Select Language"> | ||
|
||
|
|
||
| <li class="option">france</li> | ||
| <li class="option">germany</li> | ||
| <li class="option">united kingdom</li> | ||
| <li class="option">poland</li> | ||
|
|
||
| </ui> | ||
| </div> | ||
|
|
||
| </body> | ||
| </html> | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah but you don't need
jshere. Used it locallyThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry I added this my mistake, It won't be here on next push.