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

Update index.html #26

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
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
44 changes: 44 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#title {
font-size: 400%;
width: 60vmax;
}

.center {
margin: auto;
padding: auto;
text-align: center;
}

#image {
max-width: 70%;
height: auto;
display: block;
}


@media only screen and (min-width:480px)
{

}

@media only screen and (min-width:767px)
{

}

@media only screen and (min-width:991px)
{

}

@media only screen and (min-width:1200px)
{
.font {
padding: 0px 200px 15px 200px;
}
}

@media(orientation: landscape)
{

}
Binary file added image/stevejobs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 29 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,35 @@
<body>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<!--

Hello Camper!

For now, the test suite only works in Chrome!
Please read the README below in the JS Editor before beginning.
Feel free to delete this message once you have read it.
Good luck and Happy Coding!

- The freeCodeCamp Team

-->
<main id="main">
<div id="heading" class="center">
<h1 id="title" class="center">Steve Jobs</h1>
<p class="font"><i>The man who loved innovation</i></p>
</div>
<div id="img-div">
<img class="center" id=image src="image/stevejobs.png" alt="Steve Jobs">
<div class="center"><br>
<p id="img-caption" class="font">Steve Jobs in his 20's with early version of Macintosh</p><br>
</div>
</div>

<div id="tribute-info" class="center">
<h2 class="font">Here's a time-line of Steve Job's life:</h2>

</div>

<div class="center">

<br>
<h3 class="font">You can learn more about this incredible man on
<a href="https://dastgeertech.studio/" id="tribute-link" target="_blank">
Dastgeertech Studio.</a>
</h3>
</div>

</main>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<script src="js/index.js"></script>
</body>
</html>