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"></script>

<!-- 

Hello Camper!

For now, the test suite only works in Chrome! Please read the README below in the JS Editor before beginning. Feel free to delete this message once you have read it. Good luck and Happy Coding! 

- The freeCodeCamp Team 

-->
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" height="height=100vh;" />
    <title>My Portfolio</title>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Merriweather+Sans&display=swap" rel="stylesheet">
</head>
<body>
    <nav class="nav" id="navbar">
        <ul class="nav-list">
            <li class="nav-object" id="one"><a class="nav-link" href="#info">Info</a></li>
            <li class="nav-object" id="two"><a class="nav-link" href="#projects">Projects</a></li>
            <li class="nav-object" id="three"><a class="nav-link" href="#contact">Contact</a></li>
        </ul>
    </nav>
  <section id="welcome-section">
    <h1>HELLO, MY NAME IS ALEX :)</h1>
  </section>
    <section id="info">
        <div class="container1">
            <table class="table">
                <tr>
                    <th>Age:</th>
                    <td>28</td>
                </tr>
                <tr>
                    <th>Gender:</th>
                    <td>Male</td>
                </tr>
                <tr>
                    <th>Core Skills:</th>
                    <td>Business Strategy Planning<br>
                        Problem Solving<br>
                        Market Research & Intelligence<br>
                        Social Media Management & Analysis<br>
                        Branding & Brand Management
                    </td>
                </tr>
                <tr>
                    <th>Languages:</th>
                    <td>German<br>
                        Turkish<br>
                        English<br>
                        Spanish
                    </td>
                </tr>
            </table>
        </div>
        <div class="container2">
            <button class="button"><a href="#education">Education</a></button>
        </div>
        <div class="container3">
            <button class="button"><a href="#work">Work</a></button>
        </div>
    </section>
    <section id="edu-work">
        <div class="container4" id="education">
            <h2>Education</h2>
            <ul class="list">
                <li>
                    <h2>DMBA: Digital Master of Business Administartion</h2>
                    <h3>ISDI Madrid</h3>
                    <h4>2020-2021</h4>
                </li>
                <li>
                    <h2>BA: Business Management & Entrepreneurship</h2>
                    <h3>FHWien University of Applied Sciences WKW</h3>
                    <h4>2013-2016</h4>
                </li>
                <li>
                    <h2>BSc: Business Laws (not completed)</h2>
                    <h3>Vienna University of Economics & Business</h3>
                    <h4>2011-2012</h4>
                </li>
                <li>
                    <h2>Matura</h2>
                    <h3>Austrian St. Georges High School Istanbul</h3>
                    <h4>2006-2010</h4>
                </li>
            </ul>
        </div>
        <div class="container5" id="work">
            <h2>Work</h2>
            <ul class="list">
                <li>
                    <h2>Digital Strategy & Creative Design</h2>
                    <h3>Koç Leather House</h3>
                    <h4>2017-present</h4>
                </li>
                <li>
                    <h2>Founder @SuccessfulStartUp</h2>
                    <h3>SuccessfulStartUp</h3>
                    <h4>2016-present</h4>
                </li>
                <li>
                    <h2>Internship: Research Analyst: MTE AMI</h2>
                    <h3>Oliver Wyman</34>
                    <h4>2016-2017</h4>
                </li>
                <li>
                    <h2>Internship: Value Stream Analyst</h2>
                    <h3>Pankl Racing Systems</h3>
                    <h4>2015-2016</h4>
                </li>
            </ul>
        </div>
    </section>
    <section id="projects">
        <div class="project-tile">
                <h2 class="project-title">Survey Form</h2>
                <img class="thumbnail" src="Thumbnails/Form.png" alt="Website Survey Thumbnail">
                <button class="button2"><a class="project-link" href="#">Visit</a></button>
        </div>
        <div class="project-tile1">
                <h2 class="project-title">Product Landing Page</h2>
                <img class="thumbnail" src="Thumbnails/Product.png" alt="Product Landing Page Thumbnail">
                <button class="button2"><a class="project-link" href="#">Visit</a></button>
        </div>
        <div class="title">
            <h2>Projects</h2>
        </div>
        <div class="project-tile2">
                <h2 class="project-title">Personal Portfolio</h2>
                <img class="thumbnail" src="Thumbnails/Protfolio.png" alt="Personal Portfolio Thumbnail">
                <button class="button2"><a class="project-link" href="#">Visit</a></button>
        </div>
    </section>
    <section class="nav-footer" id="contact">
        <ul class="nav-list">
            <li class="nav-object"><a class="nav-link" href="https://www.freecodecamp.org/kcalex" id="profile-link" target="_blank">FCC Profile</a></li>
            <li class="nav-object"><a class="nav-link" href="https://codepen.io/kcalex" id="profile-link" target="_blank">CodePen</a></li>
            <li class="nav-object"><a class="nav-link" href="mailto:alexander.koc1991@gmail.com" id="profile-link" target="_blank">EMail</a></li>
        </ul>
    </section>
</body>
</html>
              
            
!

CSS

              
                html,body {
    font-family: sans-serif;
    scroll-behavior: smooth;
    font-size: 20px;
    line-height: normal;
    background-color: #f9f9f9;
    color: black;
    padding: 0;
    margin: 0em;
}

h1 {
    font-size: 1.3rem;
}

h2 {
    font-size: 1rem;
}

h3 {
    font-size: 0.8rem;
}

h4 {
    font-size: 0.7em;
}

h5 {
    font-size: 0.6em;
}

p {
    font-size: 0.5rem;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.2rem;
    }
    
    h2 {
        font-size: 1.1rem;
    }
    
    h3 {
        font-size: 0.8rem;
    }

    h4 {
        font-size: 0.6em;
    }
    
    h5 {
        font-size: 0.5em;
    }
    
    p {
        font-size: 0.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1rem;
    }
    
    h3 {
        font-size: 0.9rem;
    }

    h4 {
        font-size: 0.7em;
    }
    
    h5 {
        font-size: 0.6em;
    }
    
    p {
        font-size: 0.5rem;
    }
}

/** Navbar **/

#navbar {
    background-color: white;
    display: flex;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
    height: 10vh;
}

.nav-list {
    display: flex;
    justify-content: space-evenly;
    align-content: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
    width: 100%;
  height: 10vh;
    text-align: center;
}

.nav-object {
    display: block;
    align-items: center;
    width: 100%;
}

.nav-link {
    text-decoration: none;
    color: black;
}

#one {
    border-right: solid 2px black;
}

#one:hover {
    background-color: green;
}

#one:hover a{
    color: white;
}

#two {
    border-right: solid 2px black;
}

#two:hover {
    background-color: lightskyblue;
}

#three:hover {
    background-color: yellow;
}

/** Welcome Section **/

#welcome-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100vh;
  background-color: pink;
  color: purple;
}

/** Info Section**/
#info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
    'box1 box2'
    'box1 box3';
    width: 100%;
    height: 100vh;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
}

.container1 {
    background-color: green;
    color: white;
    grid-area: box1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 0.4em;
    padding-right: 0.4em;
    border-right: solid 2px black;
}

.table {
    text-align: left;
}

.table tr {
    vertical-align: top;
}

.table th{
    text-align: right;
}


.container2 {
    background-color: orangered;
    grid-area: box2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: solid 2px black;
    border-bottom: solid 2px black;
}

.container3 {
    background-color: darkorange;
    color: black;
    grid-area: box3;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: solid 2px black;
}

.button {
    background-color: transparent;
    border: solid 2px black;
    color: black;
    padding: 0.8em 5em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
  }

.button a {
    text-decoration: none;
    font-size: 1em;
    color: black;
}

  .button:hover {
      background-color: white;
  }

@media (max-width: 600px) {
   #welcome-section {
    margin-top: 2.2em;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas: 
    'box2'
    'box1'
    'box3';
   }

   .container1 {
    border-bottom: solid 2px black;
   }

   .container2 {
    border-bottom: solid 2px black;
   }
}
/** Edu-Work Section **/

#edu-work {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
    'edu work';
    min-height: 20em;
}

.container4 {
    background-color: orangered;;
    grid-area: edu;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-left: 1em;
    border-right: solid 2px black;
    border-bottom: solid 2px black;
}

.container5 {
    background-color: darkorange;
    grid-area: work;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding-left: 1em;
    border-bottom: solid 2px black;
}

.list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 900px) {
    .table {
        display: none;
    }
}

@media (max-width: 600px) {
    #edu-work {
     grid-template-columns: 1fr;
     grid-template-rows: auto;
     grid-template-areas: 
     'edu'
     'work';
    }
 
    .container4 {
     border-bottom: solid 2px black;
    }
 
    .container5 {
     border-bottom: solid 2px black;
    }
 }

/** Projects Section **/

#projects {
    background-color: lightskyblue;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto;
    grid-template-areas: 
    'box1 box2'
    'title box3'; 
    min-height: 100vh;
    border-bottom: solid 2px black;
}

@media (max-width: 900px) {
    #projects {
        grid-template-columns: auto;
        grid-template-rows: auto;
        grid-template-areas: 
        'title'
        'box1'
        'box2'
        'box3';
    }

    .title {
        border-top: none;
        border-bottom: solid 2px white;
    }

    .project-tile {
        border-bottom: solid 2px white ; 
    }

    .project-tile1 {
        border-bottom: solid 2px white ; 
    }
}

.title {
    text-decoration: none;
    grid-area: title;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.3em;
    border-top: solid 2px white;
    border-right: solid 2px white;
}

.title h2 {
    font-size: 2em;
}

.project-box1 {
    background-color: darkslateblue;
    color: white;
    grid-area: box1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.3em;
    border-right: solid 2px white ;
}

.project-box2 {
    background-color: darkred;
    color: white;
    grid-area: box2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.3em;
    border-bottom: solid 2px white;
}

.project-box3 {
    background-color: darkmagenta;
    color: white;
    grid-area: box3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.3em;
}

.thumbnail {
    width: 20em;
    border: solid 1px white;
}

.button2 {
    background-color: transparent;
    border: solid 2px white;
    color: black;
    margin-top: 0.6em;
    padding: 1em 9em;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
}

.button2 a {
    text-decoration: none;
    font-size: 1em;
    color: white;
}

  .button2:hover {
      background-color: tomato;
  }

  .button2:hover a{
   color: white;
}

/** Contact Section**/

.nav-footer {
    background-color: yellow;
    height: 100%;
    border-bottom: solid 2px black;
}

              
            
!

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