Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <head>
  <script src="https://kit.fontawesome.com/0214a5cf7b.js" crossorigin="anonymous"></script>
</head>
<main>
   <section id="navbar">
     <ul>
       <li><a href="#my-info">About</a></li>
       <li><a href="#projects">Projects</a></li>
       <li><a href="#contact">Contact</a></li>
       </ul>
     </section>
   
   <!--welcome section-->
   <section id=welcome-section> 
     <h1>Hello I am Seekinfox</h1>
     <h3>a Web Developer</h3>
     </section>
   <!--end of the section-->
   <section id="my-info">
     <div>
       <h2  class="font"> About me</h2>
     </div>
     <div id="me">
       <img src="https://i.postimg.cc/63d51Kgv/f0146f40c1008db745ed71d1db49e1dc.jpg" alt="my-photo">
       </div>
        <div class="info">
          <p>
            Hi. My name is Seekinfox. A beginner web developer. My journey  started with learning the html language
And I am still constantly learning and improving my skills. Adopting to ever changing languages with changing technologies has always been an exciting challenge for me.
I am ready to make an impact in the web development industry and any company I work for. 
            </p>
          </div>
  </section>
  
     <!--project section-->
   <section id="projects">
        <div class="header">
          <h2> Some Of My Projects</h2>
         
     </div>
       <div class="project-tile item1">
         <a href="https://codepen.io/seekinfox/pen/qBmjybg">
            <img src="https://i.postimg.cc/J0pMDMk7/Screenshot-3.png">
            <p>Tribute Page</p>
         </a>
      </div> 
     
       <div class="project-tile item2">
         <a href="https://codepen.io/seekinfox/pen/LYyjMYY">
            <img src="https://i.postimg.cc/7hHqZfbQ/Screenshot-4.png">
            <p>A Form</p>
         </a>   
        </div>
        
     <div class="project-tile item3">
       <a href="https://codepen.io/seekinfox/pen/GRmOqqe">
          <img src="https://i.postimg.cc/V6cY27ww/Screenshot-5.png">
          <p>Product Landing Page</p> </a> 
       </p>
     </div>
           
     <div class="project-tile item4">
        <a href="https://codepen.io/seekinfox/pen/ZEKMQJd">
           <img src="https://i.postimg.cc/ZqNbfG1j/Screenshot-6.png">
           <p>Technical Documentation</p>
         </a>   
       </div>
    </section>
<div class="spacer">
    <h3> Contact Me</h3>
  <p>Send me a message</p>
</div>

  <footer>   
    <section id="message">
      <form>
        <label for="name">Name</label>
        <input class="form-items" type="text" id="name" name="name" placeholder="Your name">
        <label for="email">Email</label>
        <input class="form-items" type="email" id="email" name="email" placeholder="example@gmail.com" required>
        <label for="msg">message</label>
        <textarea class="form-items" id="msg" name="text" rows="1" cols="15" placeholder="Write your message"></textarea>
        <input class="form-items send" type="submit" value="Send">
        <form>
      </section>
    <section id="contact" class="contact">
      
     <div>
       <a href="https://github.com/seekinfox" target="_blank" class="link" id="profile-link">
          <i class="fab fa-github fa-lg icon icon1"></i>
       </a>
      </div>
      <div>
        <a href="https://www.linkedin.com/in/sanket-abhyankar-7542bb169/" action="_blank" class="link">
          <i class="fab fa-linkedin-in icon icon2"></i>
          </a>
      </div>
    <div>
      <a href="https://www.freecodecamp.org/seekinfox" class="link" target="_blank" >
        <i class="fab fa-free-code-camp fa-lg icon icon3"></i>
        
      </a>
      </div>
      </section>
  </footer>
    </main>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Acme&display=swap');
:root {
  --darkblue : rgb(8, 3, 20);
  --darkgreen: linear-gradient(to right, rgb(0, 0, 0) 20%,rgb(0, 120, 0)) ;
}
* {
  box-sizing: border-box;
}
a {
  color: white;
  text-decoration: none;
}
body::before {
  content: "";
    position: fixed;
 top: 0;
  left:0;
  height: 100%;
  width: 100%;
  z-index: -1;
   background: linear-gradient(
        rgba(0, 155, 75, 0.6),
      rgba(186, 186, 252, 0.92)), url("https://wallpapertag.com/wallpaper/full/7/3/2/154689-cool-coding-background-1920x1280-for-tablet.jpg");
  background-size: cover ;
}
html, body {
  scroll-behavior: smooth;
  box-sizing: border-box;
   font-size: 90.5%;
  font-family: monospace;
  margin:0;
}
* {
   box-sizing: border-box;
}
#navbar {
  z-index: 1;
 position: fixed;
  width: 100vw;
  top: 0;
  left: 0;
  background: linear-gradient(to right, rgb(0, 0, 0) 20%,rgb(0, 120, 0)) ;
}
ul {
  
  list-style-type: none;
  max-height: 90px;
  height: 35px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
}
ul > li {

  font-size: 1.2rem;
  font-weight: bold;
  margin-right: 6vw;
} 
ul > li:hover {
  transform: scale(1.1, 1.1);
}
/*start of the about*/
.font{
  font-family: 'Righteous', cursive; 
  font-size: 3rem;
}
   
#my-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
   align-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgb(255, 255, 255), rgb(217, 217, 217));
  font-family: 'Open Sans', sans-serif;
  font-weight: thin;
}
#me {
  width: 170px;
  height: 170px;
}
#me > img {
  border-radius: 50%;
}
#me > img:hover {
   transform: skewX(90deg);
   transform: skewY(10deg);
   box-shadow: -15px 12px 5px grey;
}
.info {
  font-size: 1.3rem;
  line-height: 1.5;
  width: 70vw;
  height: 100%;
}

/*end 0f the about*/

/* welcome section styles*/

#welcome-section {
  font-family: 'Acme', sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

/*End of the welcome-section*/
/*grid styles starts----------------------------*/
#projects { /*--container--*/
  display: block;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), black);
  display: grid;
  grid-template-columns:45vw 45vw;
  grid-template-rows:auto auto auto auto;
  justify-content: space-evenly;
  align-content: space-evenly; 
  justify-items:center;
  align-items: center;
  grid-template-areas: 'heading heading''item1 item2''item3 item4';
  grid-gap: 30px;
 
}

.header {
  text-align: center;
  line-height: 2;
  width: 100%;
  font-family: 'Acme', sans-serif;
  font-size: 1.6rem;
  font-weight: bold;
  max-height: 50rem;
  height: auto;
  grid-area: heading;
}
.item1 {
 
  grid-area: item1;
}
.item2 {
  
  grid-area: item2;
}
.item3 {
 
  grid-area: item3;
}
.item4 {
  
  grid-area: item4;
}
/*grid styles end-----------------------------*/
.project-tile a {
 word-wrap: break-word;
  width: 30vw;
  /*height: 65vh;*/
  background: rgb(8, 3, 20);
  font-family: 'Acme', sans-serif;
  text-align: center;
  font-weight: 400;
  color: white;
  text-decoration: none;
  display: flex;
  flex-direction: column;
   border-radius: 10px;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid var(--darkblue);
  border-radius: 3% 3% 7% 7%;
}


.project-tile a:hover {
      border: 1px solid rgb(46, 184, 46);
     box-shadow: 0px 0px 5px 1px rgba(46, 184, 46, 0.8);
}


div.spacer {
  display: flex;
  flex-direction: column;
 text-align: center;
  font-size: 1.4rem; 
  color: white;
  height: 100%;
  background: var(--darkgreen);
  
}

/*
footer contains
1 message
2 contact

1 contact contains
 a: github
 b: FCC
 c: Linkedin

2 message contains 
 a: message.
 b: form.
*/
/*footer container start*/
footer {
  font-family: 'Righteous', cursive;
  display: flex;
  flex-direction: column;
  
  width: 100%;
  height: 100%;
  background: black;
  color: white;
}

/*footer container end*/
#message {
  color: white;
}
.link {
  font-size: 2rem;
  
  text-decoration: none;
  color: white;
  padding:0 2rem 0 2rem;
 
}
/*contact flex start*/

section.contact {
  flex: 50%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 50%;
  padding: 2rem;
}

/*contact flex end*/


/*form start*/
textarea {
  resize: none;
  margin-bottom: 1.2rem;
}
form {
  color: white;
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 2px solid whitesmoke;
  box-shadow: 40px 20px 5px rgb(0, 90, 0), 80px 50px 5px rgb(0, 20, 0), 130px 85px 5px rgb(0, 10, 0);
  padding: 1rem;
}
label {
  padding: 1rem 0 1rem 0;
}
.form-items {
  padding: 0.3rem;
}
.form-items:focus {
  border: 1px solid rgb(46, 184, 46);
  box-shadow: -1px -1px 5px rgb(46, 184, 46);
}
.send {
  font-weight: bold;
  border: none;
  padding : 0.8rem;
  background: rgb(46, 184, 46);
   border-radius: 5px;
}
.send:hover {
  color: black;
   cursor:pointer;
  background:rgb(71, 209, 71);
}
.icon {
  color: rgb(0, 90, 0);
  border-radius: 50% ;
}
.icon1:hover {
  color: white;
  box-shadow: 1px 1px 20px 3px white;
}
.icon2:hover {
  color: rgb(0, 170, 255);
  box-shadow: 1px 1px 20px 3px rgb(0, 170, 255);
}
.icon3:hover {
  color:rgb(29, 49, 88);
  box-shadow: 1px 1px 40px 3px rgb(29, 49, 88);
}
/*form end*/
@media only screen and (max-width: 414px) {
  #navbar{
    height: 15vh;
  }
  ul {
  list-style-type: none;
  max-height: 90px;
  height: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
  ul > li {

  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 1.2vh;
} 
  form {
  color: white;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid whitesmoke;
  padding: 1rem;
  }
}
              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console