Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Tell us what’s happening:
how to make the last two div container full view?

  <html lang="en">
    <head>
      <meta name="viewport" content="width=device-width, initial-scale=1" />
      <link rel="stylesheet" href= "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css">

      <link rel="stylesheet" href="styles.css">
      <title>Personal protfolio</title>
    </head>
      <body>
        <nav id="navbar">
         <div class="nav-sky">
    
          <div class="menu-btn"> </div>
    
            <div class="nav-elements">
    
             <ul class="nav-content">
              <li> <a href="#" title="Home" class="active">  Home </a> </li>
      
              <li> <a href="#" title="About"class="link">  About </a> </li> 
             </ul>
         </nav>
          <div class="container">
            <section id="welcome-section">
              <h1>Hey, I am Ekram</h1>
                <p id="desc">I am a frontend developer</p>
               </section>
        </div>
            <div class="container-sec">
              <section id="projects">
                <h1><u>These are some of my projects<u></h1>
              <div id="image-grid">  <img src="https://cdn.freecodecamp.org/testable-projects-fcc/images/tribute-page-main-image.jpg" />
              </div>
                 <p class="project-tile"></p>
                  <a href="https://www.freecodecamp.org/fccfa840a4f-b5f1-430a-ae38-586335d7c20f"></a>
          </div>
          <div class="project-tile"></div>
          </section>
        </div>
          <div class="container-third">
              <footer>
               <h1>Let's work together....</h1>
                 <p id=des><i>How do you take your cafe?</i></p>
            
            <i class="fa-brands fa-facebook"> </i>Facebook<a id="profile-link" href="https://www.freecodecamp.org/fccfa840a4f-b5f1-430a-ae38-586335d7c20f" target="_blank"></a>
            </div>
             <div    class="container-fourth">
                      <p>**This is just a fake portfolio. All the projects and contact details given are not real.<p><span>
                 <a id="page"href="https://www.freecodecamp.org">Created for   freeCodeCamp</a></span>

            </footer>
           </div>
    </body>
</html>
@media screen and (min-width: 480px) {
   body {
     background-color: grey;
  }
}
  .nav-sky{                                  background-color:grey; 
}
#navbar{
  top:0;
  position:fixed;
}
.nav-content{                      list-style-type: none;               
  display: flex;
  justify-content:    flex-end;
  position: fixed;
  background-color:lightgray;
  width: 100%;
  

  
}
li{
   padding-left:2rem;
  font-size:30px;
  display: flex;
 margin-right: 2rem;
}
.active,.link{
  background-color:white;
 color:purple;
}
.container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  font-size: 3.4rem;
  margin:0;
  padding:0;  background-color:black;
  
}


 h1,p{
  color:white;
  text-align:center;
  margin:0 ;
  padding:14;
  font-size:3rem;
}


  .project-image {
    height: calc(100% - 6.8rem);
    width: 100%;
    object-fit: cover;
  }
#desc{
  color:purple;
}
.container-sec{
  background-color:lightgrey;
  height:40em;
  width:200%;
  margin:0;
  padding:-20px;
  bottom:0;
  top:40
}
#img-grid{
  display:grid;
  row-gap:20px;

}
a:link{text-decoration:none}
a:hover{
   background-color:orange;
}
.container-third{
   background-color:gray;
   height:10rem;
   width:100%;
   border-bottom:5px solid  lightgray;
   padding:70px;
  position:absolute;
  
}
#des{
  font-size:25px;
  padding-top:-20px;
}
.container-fourth p{
  background-color:gray;
  min-height:10rem;
  width:100%;
  margin-top:0 auto;
text-align:center;
  font-size:20px;
  padding:70px;
  
}
 #page {
  margin:-50;
  
}
.container-fourth{
display:absolute;
  right:0;
  left:0;
}
i {
  font-size:15px;
  display:inline;
  padding:20px;
  transition: transform 0.3s ease-out;
}

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

Challenge: Personal Portfolio Webpage - Build a Personal Portfolio Webpage

Link to the challenge:

You have made too many mistakes here. Check it for yourself:
https://validator.w3.org/nu/#textarea

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