Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Tell us what’s happening:

Describe your issue in detail here.
Hello guys, I’ve been stuck here for the last 4hrs, any help please?

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0"
    <title>My Portfolio</title>
    <link rel="stylesheet" href="styles.css" />
    <nav id="navbar">
      <li><a href="#welcome-section">Welcome</a></li>
      <li><a href="#projects">Projects</a></li>
      <li><a id="profile-link" href="" target="_blank">GitHub</a></li>
    <header id="welcome-section">
      <h1>Welcome to my portfolio</h1>
    <section id="projects">
      <div class="project-title">
        <h2>Project 1</h2>
        <p>Description of project 1</p>
        <a href="">Twitter</a>
/* file: styles.css */
/*reset some default styles*/
body, h1, h2, p {
  margin: 0;
  padding: 0;
/*define a background color and style for the entire page*/
body {
  background-color: #f0f0f0;
  font-family: arial, sans-serif;
/*style the navigation bar*/
#navbar {
  background-color: #333;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
#navbar ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  padding: 10px;
#navbar a {
  color: white;
  text-decoration: none;
/*style the welcome section*/
#welcome-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #007ACC;
  color: white;
/*style the project section*/
#projects {
  padding: 20px;
.project-title {
  background-color: white;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
*/add media quary for responsiveness */
@media (max-width: 768px) {
  #navbar ul {
    flex-direction: column;
  #navbar li {
    margin: 5px 0;
  .project-title {
    margin: 10px 0;
/*style the profile link*/
#profile-link {
  color: #007ACC;
  text-decoration: none;
#profile-link:hover {
  text-decoration: underline;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

Challenge Information:

Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Hi. Welcome back.

This is not how we form a comment in CSS. Use the syntax below.

/*This is a comment*/

Also, I changed the class value here to project-tile Do not forget to change in your CSS.

1 Like

Wow, thank you…worked like a charm :star_struck: :star_struck:


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.