Skip to content
Open
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
12 changes: 6 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
<link rel="stylesheet" href="css/style.css">
</head>

<body>
<body> <!--The body element contains all the visible content of the page-->

<nav>
<nav> # nav is a semantic element i.e. tells us about what is contained in it, nav contains the navigation elements
<ul id='navbar'>
<li><a href="#welcome-section">About</a></li>
<li><a href="#projects">Work</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>

<div id="welcome-section" class="intro">
<div id="welcome-section" class="intro"> # div is a non semantic element i.e. it does not tell us about the content
<h1>Hey, I'm Emisha</h1>
<p>A web developer</p>
</div>
Expand All @@ -28,8 +28,8 @@ <h1>Hey, I'm Emisha</h1>
<h2 class="work-header">These are some of my projects..</h2>


<a href="" class="project project-tile">
<img class="project-pic" src="images/projectbg1.png" alt="project">
<a href="" class="project project-tile"> # a , the anchor tag is used to link to other locations in the web, or in same page itself
<img class="project-pic" src="images/projectbg1.png" alt="project"> # img tag is used for inserting images with src attribute referring to the location of the image
<div class="project-title">Demo Project 1</div>
</a>
<a href="" class="project project-tile">
Expand All @@ -40,7 +40,7 @@ <h2 class="work-header">These are some of my projects..</h2>
<img class="project-pic" src="images/projectbg3.png" alt="project">
<div class="project-title">Demo Project 3</div>
</a>
<a href="" target="_blank" class="project project-tile">
<a href="" target="_blank" class="project project-tile"># target="_blank" opens a new window
<img class="project-pic" src="images/projectbg4.png" alt="project">
<div class="project-title">Demo Project 4</div>
</a>
Expand Down