Skip to content

done #2121

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

done #2121

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
78 changes: 40 additions & 38 deletions starter_code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@

<link rel="icon" type="image/x-icon" href="./images/slack-icon.png">
<title>Slack is your digital HQ | Slack</title>

</head>

<body>
<!-- NAVBAR -->
<nav>
<nav class="navbar">
<div>
<img src="./images/slack-logo.png" alt="Slack logo" />
<img src="./images/slack-logo.png" alt="Slack logo" class="slack-logo"/>

<ul>
<ul class="navbar-menu">
<li>
<a href="#">Product</a>
</li>
Expand Down Expand Up @@ -61,32 +62,32 @@

<!-- HEADER -->
<header>
<div>
<div class="hero">
<h1>Great teamwork starts with a digital HQ</h1>

<p>Slack is free to try for as long as you'd like.</p>
<p class="hero-text"><strong class="herostrong">Slack is free to try </strong>for as long as you'd like.</p>

<div>
<button>Sign up with email</button>
<div class="button">
<button class="button1">Sign up with email</button>

<button>
<img src="./images/logo-google.png" alt="Google logo" />
<span>Sign up with Google</span>
<button class="button2">
<img src="./images/logo-google.png" alt="Google logo" class="buttonimg"/>
<span class="colorTextGoogle">Sign up with Google</span>
</button>
</div>

</div>

<div>
<img src="./images/hero-product-ui.png" alt="Slack app screenshot" />
<img src="./images/hero-product-ui.png" alt="Slack app screenshot" class="hero-product"/>
</div>
</header>

<main>
<section>
<p>Trusted by companies all over the world</p>
<section class="sponsor">
<p class="sponsor-text">Trusted by companies all over the world</p>

<div>
<div class="img-sponsor">
<img src="./images/logo-airbnb.png" alt="Airbnb logo" />
<img src="./images/logo-nasa.png" alt="NASA logo" />
<img src="./images/logo-uber.png" alt="Uber logo" />
Expand All @@ -97,30 +98,30 @@ <h1>Great teamwork starts with a digital HQ</h1>

</section>

<section>
<h3>Teams large and small rely on Slack</h3>
<p>Slack securely scales up to support collaboration at the world’s biggest companies.</p>
<section class="teams">
<h3 class="teams-h3">Teams large and small<br> rely on Slack</h3>
<p class="teams-p">Slack securely scales up to support<br> collaboration at the world’s biggest companies.</p>


<ul>
<ul class="teams-list">
<li>
<p><span>85%</span></p>
<p class="pp"><span>85%</span></p>
<p>
of users say Slack has improved communication
<sup>*</sup>
</p>
</li>

<li>
<p><span>86%</span></p>
<p class="pp"><span>86%</span></p>
<p>
feel their ability to work remotely has improved has improved
<sup>*</sup>
</p>
</li>

<li>
<p><span>88%</span></p>
<p class="pp"><span>88%</span></p>
<p>
feel more connected to their teams*
<sup>*</sup>
Expand All @@ -129,31 +130,32 @@ <h3>Teams large and small rely on Slack</h3>
</ul>
</section>

<section>
<h3>Welcome to your new digital HQ</h3>
<section class="Welcome">
<h3 class="welcome-h3">Welcome to your new digital HQ</h3>

<button>Try for free</button>
<button>Talk to sales</button>
<button class="button3">Try for free</button>
<button class="button4">Talk to sales</button>
</section>

</main>

<footer>
<ul>
<li>Status</li>
<li>Privacy</li>
<li>Terms</li>
<li>Cookie Preferences</li>
<li>Contact Us</li>
<li>Change Region</li>
<li>Download Slack</li>
<footer class="footer1">
<hr>
<ul class="ul-footer">
<li class="li-footer">Status</li>
<li class="li-footer">Privacy</li>
<li class="li-footer">Terms</li>
<li class="li-footer">Cookie Preferences</li>
<li class="li-footer">Contact Us</li>
<li class="li-footer">Change Region</li>
<li class="li-footer"><a href="#">Download Slack </a></li>
</ul>

<hr>


<ul>
<ul class="ul-favicon">
<li>
<i class="fab fa-twitter"></i>
<i class="fab fa-twitter fa-lg"></i>
</li>
<li>
<i class="fab fa-facebook"></i>
Expand All @@ -166,7 +168,7 @@ <h3>Welcome to your new digital HQ</h3>
</li>
</ul>

<div>
<div class="legend">
<small>
&copy; 2022 Slack Technologies, LLC, a Salesforce company. All rights reserved. Various trademarks held by
their respective owners.
Expand Down
Empty file added starter_code/stylesheets/chulet
Empty file.
232 changes: 232 additions & 0 deletions starter_code/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,235 @@ paragraph yellow: #ECB12F
links blue: #2E71A6
footer links grey: #454245
*/
@media screen and (min-width:768px) {


}


* {
box-sizing: border-box;
}

body {
font-family: sans-serif;
margin: 0;
}

img {
width: 100%;
}

body {
background-color: #540A51;
}

main {
background-color: white;
}
.navbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 3em;
}

.navbar button {
background-color: transparent;
border: none;
}

.navbar-menu {
list-style: none;
display: none;
}

.slack-logo{
width: 250px;
}

h1 {
color: white;
font-size: 4em;
}
hr {
border: 1px solid grey;
width: 90%;
margin: 5%;
}
.hero {
display: flex;
flex-direction: column;
padding: 2em;
text-align: center;
}

.hero-text {
font-size: 1.5em;
}

.herostrong {
color: #E8AC30;

}

.button{
display: flex;
flex-direction: column;
}
.button1{
padding: 24px 59px;
font-size: 1.5em;
text-transform: uppercase;
margin: 2%;
}

.button2{
padding: 14px 60px;
font-size: 1.5em;
text-transform: uppercase;
display: flex;
align-items: center;
background-color: #4285F4;
margin: 2%;
}

.buttonimg {
width: 1.8em;
margin-right: 2.8em;
margin-right: 2.8em;
background-color: white;
}

.colorTextGoogle {
color: white;
}

.hero-product {
width: 100%;
}

.sponsor {
background-color: #F3EAE2;
padding: 20px;
text-align: center;
}

.img-sponsor {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}

.img-sponsor img {
height: 60px;
width: auto;
margin-bottom: 30px;
}

.sponsor-text {
text-transform: uppercase;
font-weight: bold;
align-self: center;
padding: 2em;
}

.teams {
text-align: center;
}

.Welcome {
background-color: #540A51;
display: flex;
flex-direction: column;
text-align: center;
}

.teams-list {
display: flex;
flex-direction: column;
padding: 3% 30%;
list-style: none;
font-weight: bold;
}

.pp{
margin: -4%;
font-size: 3em;
color: #540A51;

}

.teams-h3{
font-size: 41px;
color: #540A51;
}

.teams-p{
font-size: 1.4em;
}

.welcome-h3 {
font-size: 3em;
padding: 3% 14%;
color: white;
}

.button3{
padding: 4% 7%;
margin: 1% 1%;
font-size: 1.3em;
color: #540A51;
text-transform: uppercase;
font-weight: bold;
}

.button4{
padding: 4% 7%;
margin: 1% 1%;
font-size: 1.3em;
background-color: #540A51;
text-transform: uppercase;
font-weight: bold;
color: white;
border: 1px solid;
margin-bottom: 10%;
}

.footer1 {
background-color: white;
display: flex;
flex-direction: column;
}

.ul-favicon {
list-style: none;
display: flex;
justify-content: space-between;
padding-right: 5%;
padding-left: 5%;
}

.ul-footer {
list-style: none;
padding: 6% 3%;
}

.li-footer {
padding: 2% 1%;
font-weight: bold;
}

.li-footer a {
color: #1767A5;
text-decoration: none;
}

.legend {
display: flex;
padding: 1% 4%;
margin-bottom: 2%;
text-align: center;
font-size: 1.3em;
color: gray;
}