Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ianmckenna87 committed Jan 30, 2024
1 parent f0b391c commit 5e7e2cb
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 8 deletions.
48 changes: 40 additions & 8 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,42 @@
<html>
<!DOCTYPE html>
<html lan="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Responsive, Accessible Web Design</title>
</head>
<body>
<nav id="navbar">
<ul>
<li><a class="nav-link"href="#projects">Projects</a></li>
<li><a class="nav-link" id="profile-link" href="https://www.freecodecamp.org/IanMckenna87" target="_blank">Contact</a></li>
</ul>
</nav>
<section id="welcome-section">
<h1>Responsive Web Design</h1>
<p> Responsive, accessible web design shaping and creating content that is engaging and relevant for your users </p>


</section>

<section id="projects">
<div id="projects-grid">
<a class="project-tile" href="https://codepen.io/ianmckenna87/full/RweQjbm">
<img class="tile" src="https://assets.nintendo.com/image/upload/ar_16:9,b_auto:border,c_lpad/b_white/f_auto/q_auto/dpr_1.25/c_scale,w_900/ncom/software/switch/70010000063714/276a412988e07c4d55a2996c6d38abb408b464413b2dfeb44d2aa460b9f622e1"/>
<p class="project-title">Product landing pages</p>
</a>

<a class="project-tile" href="https://codepen.io/ianmckenna87/full/yLRvPpp">
<img class="tile" src="https://upload.wikimedia.org/wikipedia/en/thumb/c/ca/Studio_Ghibli_logo.svg/1920px-Studio_Ghibli_logo.svg.png"/>
<p class="project-title">Tribute Pages</p>
</a>

<body>
<h1>Ian</h1>
<h2>test</h2>
<p>Welcome to my website!</p>
<img src="https://content.codecademy.com/articles/github-pages-via-web-app/happy-ice-cream.gif" />
</body>
</div>

</html>
</section>



</body>
</html>
36 changes: 36 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
html {
box-sizing: border-box;

/* Set font size for easy rem calculations
* default document font size = 16px, 1rem = 16px, 100% = 16px
* (100% / 16px) * 10 = 62.5%, 1rem = 10px, 62.5% = 10px
*/
font-size: 62.5%;
scroll-behavior: smooth;
}

nav{
font-size:2rem;
background:linear-gradient(orange,brown);
width:100%;
display:flex;
justify-content:center;
top:0;
left:0;
position:fixed;
font-family:sans-serif;
font-weight:bold;

}

.nav-link{text-decoration:none;
color:white;
padding:2rem;}

nav>ul{
list-style:none;
display:flex;
justify-content:space-evenly;

}

0 comments on commit 5e7e2cb

Please sign in to comment.