Skip to content
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
158 changes: 158 additions & 0 deletions 1zadanie.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
body{
padding: 0 auto;
margin: 0 auto;
}

#layout{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Średnio mi się podoba stylowanie po id. Zwykło się widzieć stylowanie po klasach

background: linear-gradient(90deg, #83EB94 0%, #47D95E 100%);
padding-bottom: 10px;
width: 100%;
padding-top: 40px;
align-items: center;
}

#coming_soon{
position: absolute;
right: 0%;
top:0%;

}

#guy{
width: 70%;
position: relative;
left: 15vw;
filter: brightness(70%);
padding: 5px;
}

#code{
font-family: 'Lato';
font-style: normal;
font-weight: 300;
font-size: 60px;
text-align: center;
letter-spacing: 15px;
color: black;
width: 100%;

}

h3{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To samo mogę powiedzieć o stylowaniu po znacznikach :)

text-align: center;
color: #FFFFFF;
font-family: 'Lato';
font-style: normal;
font-weight: 200;
position: relative;
top:5px;
font-size: 24px;
width: 100%;
}

#get_mail{
display: flex;
flex-wrap: wrap;
width: 100%;
height: 80px;
margin-bottom: 200px;
text-align: center;
align-items: center;
justify-content: center;

}

#email_field{

border-radius: 9px;
border-style: none;
box-shadow:inset 0 0 10px #000000;
font-family: 'Lato';
font-size: 16px;
text-indent: 10px;
font-style: normal;
font-weight: 300;
color: #A0A0A0;
font-weight: 300;
line-height: normal;
width: 250px;
height: 48px;


}

#button{

background:#0297EC;
border-radius: 9px;
padding: 13px;
color:#FFFFFF;
border-style: none;
padding-left: 30px;
padding-right: 30px;
font-size: 16px;
text-align: center;
font-family: 'Lato';
width: 250px;
height: 48px;
margin: 0;
position: relative;
bottom: 10px;




}

#foot{

font-family: 'Lato';
font-style: normal;
font-weight: 300;
text-align:center;
color: #FFFFFF;
width: 100%;
font-size: 24px;
line-height: 28px;
}
.sexiflexi{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Za nic nie mogę się domyśleć co to jest... Pisz nazwy klas bardziej mówiące o tym, co jest czym ;)


margin-top: 10px;
margin-right: 14px;
margin-left: 14px;
}
#button:hover{
box-shadow:2px 2px 10px #000000;

}
#email_field:focus{
border-style: solid;
border-color: black;
border-width: thin;

Copy link

@IamMK IamMK Jan 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nie lepiej użyć

border: thin solid black;

?



}


.form-control-placeholder {
position: relative;
top:-35px;
right: 90px;
transition: all 200ms;
opacity: 0.5;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tutaj to nie jest błąd, lecz podpowiedź. Możesz pisać po prostu .5 ;)

display: block;
margin: 0;
padding: 0;
}

.form-control:focus + .form-control-placeholder,
.form-control:valid + .form-control-placeholder {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.form-control:focus:valid + .form-control-placeholder

Myślę, że lepiej stosować krótszy zapis ;)

font-size: 100%;
transform: translate3d(0, -200%, 0);
font-family: 'Lato';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

n-ty raz widzę tą czcionkę. Nie lepiej jest jej użyć raz, dla rodzica będącego najwyżej w hierarchii?

color: white;
font-weight: 300;
opacity: 1;
}

32 changes: 32 additions & 0 deletions 1zadanie.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="1zadanie.css" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Lato:200,300,300i,400,400i,700,700i&amp;subset=latin-ext" rel="stylesheet">

</head>
<body>


<section id="layout" >
<img src="coming-soon-ribbon.png" id="coming_soon">
<img src="undraw_developer_activity_bv83.svg" id="guy" >
<div id="code" style="color: white;">CODE ACADEMY</div>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Nie stosuj styli inline. To nie jest dobre.
  2. Code Academy. Plik HTML ma być pisany bez najmniejszych oznak "pokemona". Zamiast wielkich liter użyj w css
text-transform: uppercase;

<h3>Leave your email</h3>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A H1 i H2 gdzie są?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tak się z ciekawości spytam, a muszą być? ;> nie można sobie użyć h3 jak nigdzie nie było h1, ani h2? przecież to pełnoprawny element HTML'a

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mateuszlittwin-gf, jeśli masz gdzieś semantykę, to nie muszą ;) Najlepiej jest dać tytuł główny dokumentu w H1, H2 jako tytuły sekcji, H3 jako artykułów itd ;) Choćby ze względu na czytelność kodu i stworzenie swoistego "drzewka" strony.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to tym bardziej tutaj nie pasuje h1 ani h2, bo to też nie są tytuły sekcji ;) bardziej tu pasuje p

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Myślę, że użycie nagłówka tutaj jest do przyjęcia. Choćby ze względu na fakt, że element powinien zwrócić uwagę odwiedzającego. Jednak po drodze zabrakło właśnie header tagów poprzednich ;)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Teraz tak patrze szerzej i coming-soon-ribbon mozna wywalic gdzies wyzej, no on chyba i tak jest z position absolute (zgaduje).
Ten obrazek undraw_developer_activity pasuje bardziej do jakiegos znacznika header, albo innej sekcji
Pozostałe elementy faktycznie mogą miec h1 i h2, czyli

<h1>Code Academy</h1>
<h2>Leave you email</h2>

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

O coś takiego mi dokładnie chodzi ;) Gdyby dodatkowo ładnie rozdzielić plik na sekcje header, main i footer byłoby niemal idealnie :)

<div id="get_mail">
<div class="form-group">
<div class="sexiflexi"> <input required type="email" name="email" id="email_field" class="form-control">
<label for="email" class="form-control-placeholder" width="30%">E-mail</label>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Znowu inline. Synu. Nie wolno tak.

</div>
</div>
<div class="sexiflexi"> <input type="submit" value="GET EARLY ACCESS" id="button"></div>
</div>
<P id="foot">User &copy; 2019<br>
Made with <img src="love.png"> in Poland<br>
We're using cookies to improve your experience.
</P>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yyy? To jest ble. Bardzo ble. Jeśli chcesz przejść do następnej linii to tworzysz p. Te <br> są tu potrzebne jak sanki w lato...



</section>
Copy link

@IamMK IamMK Jan 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Co do całości. Zabrakło tu m.in tagów <header> <main> <footer> .

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dodatkowo. Tagi <img> nie mają atrybutu alt.
Dokument nie ma tytułu, tzn <title> w sekcji <head>
I w sumie nie ma zdefiniowanego języka jako atrybut <html>

</body>
</html>
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# Academy
# Academy
Projekty wykonywane przez społeczność discorda
[helloroman](https://discordapp.com/invite/VTyJc9N)
Projekt jest we wczesnej fazie i obecne challenge sa testowe. Wszelkie sugestie propozycje pomocy mile widziane.
Projekt jest we wczesnej fazie i obecne challenge testowe. Wszelkie sugestie, propozycje pomocy mile widziane.

## Challenge #1 - Landing Page
Celem wyzwania jest wykonanie warstwy frontendowej Landing Page, zbierającego adressy e-mail osób zainteresowanych udziałem w akademii.
Stack Technologiczny do wykonania zadania to html/css/js bez zadnych frameworkow, preprocesorow.
Celem wyzwania jest wykonanie warstwy frontendowej Landing Page, zbierającego adresy mail osób zainteresowanych udziałem w akademii.
Stack Technologiczny do wykonania zadania to html/css/js bez żadnych frameworkow, preprocesorow.
Rozwiązanie powinno dzialać na:
* Chrome 58+
* Edge 16+
* Safari 10.1+
* Firefox 54+
Przycisk do wysyania formularza powinien mieć ID: LandingEmail
Wykonane zadanie należy przesylac jako pull request na branch develop.
Zwrocie uwagę na sematyke html i accessibility.
Przycisk do wysłania formularza powinien mieć ID: LandingEmail
Wykonane zadanie należy przesyłac jako pull request na branch develop.
Zwrocie uwagę na semantykę html i accessibility.

### Grafiki
[Project.pdf](/assets/Layout.pdf.pdf})
[Project.pdf](/assets/Layout.pdf)
[Figma](https://www.figma.com/file/gCTf2Ux96ETR0DMxr6T2m039/LandingPage?node-id=1%3A13)
[Zeppelin](https://zpl.io/boKzeQv)
<sub> Marginesy mogą się trochę nie zgadzać dopiero się uczę figmy</sub>
<sub> Marginesy mogą się trochę nie zgadzać, dopiero się uczę figmy</sub>
#### Bonus challenge
* Wykonaj zadanie bez użycia javascriptu
* Stwórz warstwe backendowa(dowolny język) lub podepnij się do firebase
* Stwórz warstwę backendową(dowolny język) lub podepnij się do firebase
### Termin
Wstępny czas na wykonanie challenga 21.01.2019

Expand Down