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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js" crossorigin="anonymous"></script> 
<script src="https://kit.fontawesome.com/3fb55c09cc.js" crossorigin="anonymous"></script>

<body>
    <header>
        <div>
            <h1>Maik()<span>;</span></h1>
            <div id="style-for-h1"></div>
        </div>
        <nav id="nav-bar">
            <ul>
                <a href="#about_me">
                    <li>About me</li>
                </a>
                <a href="#projects">
                    <li>Projects</li>
                </a>
                <a href="#contact_me">
                    <li>Contact</li>
                </a>
                <a href="#social_media">
                    <li>Follow me</li>
                </a>
            </ul>
        </nav>
        <div id="light_dark">
            <input type="checkbox" class="checkbox" id="checkbox">
            <label for="checkbox">
                <i class="fa-solid fa-moon"></i>
                <i class="fas fa-sun"></i>
                <div id="ball"></div>
            </label>
        </div>
    </header>

    <main>
        <div id="destokp_display">
            <img id="image-me" src="https://github.com/MikeAvocato01/Portfolio-Project-FCC/blob/main/img/me1.jpg?raw=true" alt="me smiling">
            <div id="description">
                <h2>Hey,I'm Mike!</h2>
                <p>I'm studying software engineering and my goal is to become a web3 developer.</p>
                <div class="project-buttom"><a href="#projects">Projects</a></div>
            </div>

        </div>
        <section id="about_me">
            <div class="section-stl">
                <h3>About me</h3>
            </div>
            <div id="flex-container-image">
                <div id="explanation">
                    <p>Hello again, my name is Maikel Iriarte, some call me mike!</p>
                    <p>I'm from Venezuela but currently living in Cuenca, Ecuador, a
                        beautiful city in the mountains. I moved here about three
                        years ago and love the weather and natural places it has!</p>
                    <p>Becoming a software engineer is something that started in me
                        many years ago when I did not even realize it, it happened when
                        I was 17 years old and all this Crypto world exploted to me, I was
                        mining a crypto and I met a guy who was really into this technology,
                        he was a trader and developer and was the person that inspired me to
                        learn all I then did and I'm doing now!
                    </p>
                    <P>I'm 23 now and a lot of time has gone, so what happened? The thing is that
                        because of the Economy problems my country was going through I could not pay
                        courses or anything to learn and I kind of stoppped because of that!</P>
                    <p>So when I finished the University 3 years ago I moved here to Ecuador looking for those
                        opportunities to have the chance of learning!
                    </p>
                    <p>All of this time here I've been working as an English Teacher and a cook!
                        I've learned a lot doing this and I've had a lot of living experience,
                        but I'm a builder, I feel that way, I like to create, to communicate,
                        to bring to reality my imagination! That's whay I have made the desicion from
                        some months ago to start this new journy to become a Web2 and web3 developer. Wish me luck! </p>
                </div>
                <div id="image-collage">
                    <img src="https://github.com/MikeAvocato01/Portfolio-Project-FCC/blob/main/img/pjimage.jpg?raw=true" alt="collage, pics of me">
                </div>

            </div>
        </section>
        <section id="projects">
            <div class="section-stl">
                <h3>Projects</h3>
            </div>
            <div id="projects-container">
                <div class="project-stl">
                    <a href="https://cdpn.io/pen/debug/rNYXJYo?authentication_hash=RBMOJbyKGPJk" target="_blank">
                        <img class="image-project" src="https://github.com/MikeAvocato01/Portfolio-Project-FCC/blob/main/img/project-1.png?raw=true" alt="project number 1">
                        <h4>Documentation Page</h4>
                        <p>The documentation page I created for the Responsive Web Design Certification
                            of the platform FreeCodeCamp.
                        </p>
                        <div>
                            <p>Technologies used:</p>
                            <div id="tech-used">
                                <i class="fa-brands fa-html5"></i>
                                <i class="fa-brands fa-css3-alt"></i>
                                <i class="fa-brands fa-js-square"></i>
                            </div>
                        </div>
                    </a>
                </div>

                <div class="project-stl">
                    <a href="https://cdpn.io/pen/debug/WNXPezr?authentication_hash=dXMqBqODzzYr" target="_blank">
                        <img class="image-project" src="https://github.com/MikeAvocato01/Portfolio-Project-FCC/blob/main/img/project-2.png?raw=true" alt="project number 2">
                        <h4>Landing Page</h4>
                        <p>The landing page I created for the Responsive Web Design Certification
                            of the platform FreeCodeCamp.
                        </p>
                        <div>
                            <p>Technologies used:</p>
                            <div id="tech-used">
                                <i class="fa-brands fa-html5"></i>
                                <i class="fa-brands fa-css3-alt"></i>
                            </div>
                        </div>
                    </a>
                </div>

                <div class="project-stl">
                    <a href="https://cdpn.io/pen/debug/gOXxXEQ?authentication_hash=RBrOJbyKKXPM" target="_blank">
                        <img class="image-project" src="https://github.com/MikeAvocato01/Portfolio-Project-FCC/blob/main/img/project-3.png?raw=true" alt="project number 3">
                        <h4>Survey Form</h4>
                        <p>The Survey Form I created for the Responsive Web Design Certification
                            of the platform FreeCodeCamp.
                        </p>
                        <div>
                            <p>Technologies used:</p>
                            <div id="tech-used">
                                <i class="fa-brands fa-html5"></i>
                                <i class="fa-brands fa-css3-alt"></i>
                            </div>
                        </div>
                    </a>
                </div>

                <div class="project-stl">
                    <a href="https://cdpn.io/pen/debug/oNobQmG?authentication_hash=yPAJjbYggWmA" target="_blank">
                        <img class="image-project" src="https://github.com/MikeAvocato01/Portfolio-Project-FCC/blob/main/img/project-4.png?raw=true" alt="project number 4">
                        <h4>Tribute Page</h4>
                        <p>The Tribute Page I created for the Responsive Web Design Certification
                            of the platform FreeCodeCamp.
                        </p>
                        <div>
                            <p>Technologies used:</p>
                            <div id="tech-used">
                                <i class="fa-brands fa-html5"></i>
                                <i class="fa-brands fa-css3-alt"></i>
                            </div>
                        </div>
                    </a>
                </div>
            </div>
        </section>
        <section id="contact_me">
            <div class="section-stl">
                <h3>Contact me</h3>
            </div>
            <div class="form_social">
                <form action="#nowhere">
                    <p>Name:</p>
                    <input id="name" type="text" placeholder="Max Holloway">
                    <p>Email:</p>
                    <input id="email" type="email" placeholder="example@gmail.com">
                    <p>Send a message</p>
                    <textarea name="message" id="message" placeholder="Write your message here..."></textarea>
                    <button>Send</button>
                </form>
                <div id="social_media">
                    <p>Social Media</p>
                    <div>
                        <a href="https://www.facebook.com/maikel.iriarte.5" target="_blank"><i
                                class="fa-brands fa-facebook"></i></a>
                        <a href="https://twitter.com/Mike01Aguacate" target="_blank"><i
                                class="fa-brands fa-twitter"></i> </a>
                        <a href="https://www.instagram.com/mike01aguacate/" target="_blank"><i
                                class="fa-brands fa-instagram"></i></a>
                        <a href="https://www.freecodecamp.org/Mike01" target="_blank"><i
                                class="fa-brands fa-free-code-camp"></i> </a>
                    </div>
                </div>
            </div>
        </section>

    </main>
    <footer>
        <p><small>*This Page was created by Maikel Iriarte*</small></p>
    </footer>
    <script type="text/javascript" src="./index.js"></script>
</body>

              
            
!

CSS

              
                :root {
    --background-color: #555;
    --color-white: #fff;
    --span-color: #222;
    --greenYellow-color: greenyellow; 
    --form-color: rgba(0, 0, 0, 0.4); 
    --back-project: #222;
    --item-hover: #3CB371;    
  }
body {
    box-sizing: border-box;
    color: var(--color-white);
    margin: 0;
    background-color: var(--background-color);
    font-family: monospace;
    padding-bottom: 10px;
    border: var(--background-color) solid 10px;
}

/*HEADER*/
header {
    display: flex;
}
h1 {
    font-size: 30px;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 5px;
}
h1 span {
    font-size: 40px;
    background-color: var(--span-color);
    padding: 1px 5px 10px 5px;
    border-radius: 2px;
    margin-left: 2px;
}
#style-for-h1 {
    height: 7.5px;
    width: 75px;
    margin-left: 10px;
    background-color: var(--greenYellow-color);
}
nav {
    display: none;
}
.project-buttom {
    display: none;
}
header label {
    background-color: #222; 
    margin-right: 10px;  
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    box-sizing: border-box;
    padding: 10px;
    width: 80px; 
    border-radius: 20px; 
  }
  header label #ball {
    position: absolute; 
    background-color: #fff;  
    width: 30px;
    height: 30px;
    transform: translateX(0); 
    border-radius: 50%; 
    transition: transform .2s linear; 
  }
  header label i {
    position: relative; 
      color: var(--greenYellow-color);
      font-size: 20px;
  }
  #light_dark {
    margin-left: auto; 
  }
  .checkbox {
    opacity: 0; 
  }
  .checkbox:checked + label #ball {
    transform: translateX(32px); 
  }
  /*DARK MODE*/
  body.light {
    --background-color: #DEE4E7;;
    --color-white: #333;
    --span-color: #DA70D6;
    --greenYellow-color: #DA70D6; 
    --form-color: rgba(224, 159, 186, 0.5);
    --back-project: #F5F5F5; 
    --item-hover: #DA70D6;
  }
/*MAIN*/
main {
    margin-top: 50px;
}
main #image-me {
    display: block;
    margin: 0 auto;
    width: 200px;
    height: auto;
    border-radius: 5px;
    border: #222 20px solid;
}
main #description{
    text-align: center;
    margin: 0 25px;
}
main div h2 {
    font-size: 50px;
    margin-top: 5px; 
    margin-bottom: 5px;
}
main div p {
    font-size: 20px;
}
main section .section-stl {
    background-color: var(--greenYellow-color);

}
main section div h3 {
    padding: 20px;
    font-size: 40px;
    color: #333;
}
main section #explanation  {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 20px;
}
#image-collage {
    display: none;
}
.project-stl {
    box-shadow: -5px 5px 5px #777, 5px -5px 5px #777;
    font-size: 18px;
    text-align: center;
    background-color: var(--back-project);
    display: block;
    margin: 0 auto;
    width: 200px;
    height: auto;
    border-radius: 5px;
    border: var(--back-project) 20px solid;
    margin-bottom: 30px;
}
.project-stl:hover {
    transform: scale(1.05);
}
a {
    text-decoration: none;
    color: var(--color-white);
}
.image-project {
    display: block;
    margin: 0 auto;
    width: 100%; 
    height: auto;
}
.project-stl P {
    font-size: 16px;
    text-align: left;
    margin-left: 12px;
}
#tech-used {
    font-size: 50px;
    display: flex;
    justify-content: center;
}
#tech-used i:nth-child(1) {
    color: #f06529;
    margin-right: 5px;
}
#tech-used i:nth-child(2) {
    color: #2965f1;
    margin-left: 5px;
    margin-right: 5px;
}
#tech-used i:nth-child(3) {
    color: green;
    margin-left: 5px;
}

#contact_me form {
    color: var(--color-white);
    border: solid 1px #404040;;
    background-color: var(--form-color);
    padding: 20px;
    margin: 0 30px;
    border-radius: 10px;
}
#contact_me form p {
    font-size: 20px;
    margin-bottom: 0;
}
input {
    width: 90%;
    border-radius: 5px;
}
textarea {
    border-radius: 5px;
    width: 90%;
    height: 200px; 
    display: block;
    margin: 0 auto; 
}
input, textarea {
    margin-top: 1px;
}
input, form p {
    margin-left: 7px;
}
button {
    border-radius: 5px;
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 40px;
    margin-top: 10px;
}
#social_media p {
    background-color: #3CB371;
    text-align: center;
    padding: 10px 0;
    margin: 50px 60px;
    border-radius: 5px;
    box-shadow: -5px 5px 5px #888, 5px -5px 5px #888;
}
#social_media div {
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    justify-content: space-between;
}
#social_media div a i{
    font-size: 40px;
}
#social_media div a:nth-child(1) {
    color: #3b5998;
}
#social_media div a:nth-child(2) {

    color: #00acee;
} 
#social_media div a:nth-child(3) {
    color: #de1b85;
}
#social_media div a:nth-child(4) {
    color: #fff;
}
#social_media div a i:hover {
    transform: scale(1.1);

}
footer {
    text-align: center;
    margin-top: 40px;
}
script {
    width: 0;
    height: 0;
}
/*MEDIA FOR TABLET*/ 
@media (min-width: 760px) {
    #social_media div a .fa-facebook::after{
        content: " Facebook";
    }
    #social_media div a .fa-twitter::after{
        content: " Twitter";
    }
    #social_media div a .fa-instagram::after{
        content: " Instagram";
    }
    #social_media div a .fa-free-code-camp::after{
        content: "FreeCodeCamp";
    }
    #contact_me .form_social form {
        width: 250px;
    }
    .form_social {
        display: flex;
    }
    #contact_me .form_social #social_media { 
        margin-left: auto;
        margin-right: 50px;
    }
    #contact_me .form_social #social_media p {
        margin-top: 0;
        padding: 10px 60px;
    }
    #contact_me .form_social #social_media div {
        flex-direction: column;
        align-items: center;
    }
    #contact_me .form_social #social_media div a {
        font-size: 10px;
        margin-bottom: 20px;
    }

}
/*MEDIA FOR DESTOKP*/
@media (min-width: 1024px) {
    nav {
        display: inherit;
        margin-left: auto;
        margin-top: 10px;
    }
    nav ul {
        width: 600px;
        padding-left: 0;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 20px;
    }
    nav ul a:hover {
        color: var(--item-hover);
        padding-bottom: 5px;
        border-bottom: 5px solid var(--greenYellow-color);
        border-radius: 10px;
    }
    main #destokp_display {
        display: flex;
        flex-direction: row-reverse;
        line-height: 30px;
    }
    main #destokp_display #description {
        margin-left: auto;
    }
    main #destokp_display #image-me {
        margin-right: auto;
    }
    main #destokp_display #description h2 {
        margin-top: 75px;
        margin-bottom: 25px;
    }
    main #destokp_display p {
        text-align: center;
        width: 350px;
    }
    .project-buttom {
        border-radius: 10px;
        padding: 5px 10px;
        font-size: 18px;
        color: var(--color-white);
        background-color: var(--item-hover);
        display: block;
        margin: 0 auto;
        width: 90px;
        height: 35px;
        margin-top: 0;

    }
    .project-buttom:hover {
        transform: scale(1.2);
        box-shadow: -3px -3px var(--form-color), 3px 3px var(--form-color);
    }
    #flex-container-image {
        display: flex;
        justify-content: space-between;   
    }
   #flex-container-image #explanation {
        width: 95%; 
        margin-left: 50px;
    }
    #image-collage {
        display: inherit;
    }
    #flex-container-image #image-collage img {
        border: #222 solid 8px;
        width: 90%; 
        height: auto;
        margin-top: 10px; 
    }
    #projects-container {
        display: flex;
    }
    .form_social {
        margin-left: auto;
        margin-right: auto;
        width: 900px;
    }  
    #contact_me .form_social form {
        width: 350px;
    }
    input{
        margin-left: 12px;
    }
    form p {
        margin-left: 15px;
    }

}

              
            
!

JS

              
                const checkbox = document.getElementById('checkbox'); 

checkbox.addEventListener('change', () => {
  document.body.classList.toggle('light');
});
              
            
!
999px

Console