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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <meta charset="utf-8">
<div id="container">
  <head>
    <title>Jaj and the Digital Humanities - DH made simple.</title>
  </head>
  <div id="page-wrapper">
    <header>
      <div class="logo">
        <img src="https://jajandthedigitalhumanities.files.wordpress.com/2018/11/cropped-jatdh-logo-11.png" alt="logo" />
      </div>
      
      <div class="topnav">
        <nav class="navbar">
          <ul id="drop-nav">
            <li><a href="#">Home</a></li>
            <li><a href="#">Blog</a>
              <ul>
                <li><a href="#">Projects</a></li>
                <li><a href="#">Papers</a></li>
                <li><a href="#">Podcasts</a></li>
                <li><a href="#">Books</a></li>
                <li><a href="#">Journals</a></li>
                <li><a href="#">Blogs</a></li>
                <li><a href="#">People of DH</a></li>
            </ul>
           </li>
           <li><a href="#">Humanities</a>
              <ul>
                <li><a href="#">Literature</a></li>
                <li><a href="#">Culture</a></li>
                <li><a href="#">Arts</a></li>
                <li><a href="#">Media</a></li>
                <li><a href="#">Journalism</a></li>
                <li><a href="#">Education</a></li>
              </ul>
            </li>
            <li><a href="#">Tech</a>
              <ul>
                <li><a href="#">Tools</a></li>
              </ul>
            </li>
              <li><a href="#">Visuals</a>
              <ul>
                <li><a href="#">Graphs</a></li>
                <li><a href="#">Infographics</a></li>
              </ul>
            </li>
            <li><a href="#">Portfolio</a>
              <ul>
                <li><a href="#">About Me</a></li>
                <li><a href="#">Contact Me</a></li>
              </ul>
            </li>
          </ul>
         </nav>
        </div>
      </header>
    
    <div id="welcome-section">
      <h1>Jaj and the Digital Humanities</h1>
      <h5>Learning Digital Arts, Culture, Literature, and Media.</h5>
    </div>
    
    <div id="info_space">
      <div id="typed">
        <h3 style="color:#37474f"> Hello <span id="typed-str">Harry potter</span>, my name is... <span id="typed-strings">Tom Riddle.</span></h3>
        <h3 style="color:#4f5b62">I am a <span id="typed-strings-2"></span></h3>
      </div>
    </div>
    
    <div class="projects">
      <h3><a href="https://www.freecodecamp.org/jajwalyark">FreeCodeCamp Projects</a></h3>
      <h3><a href="https://www.theodinproject.com">The Odin Project Projects</a></h3>
      <div id="project-tile"></div>
    </div>
    
    
    <div></br></div>
    <footer>
    <nav id="foot-bar">
      <div class = "rightcolumn">
    <ul>
      <li><a href="https://github.com/JajwalyaRK" id= "profile-link" style="text-decoration: none; color: white">Made by Jajwalya R. Karajgikar</a>
      </li>
      <li><a href=# style="text-decoration: none;"><i class="fab fa-twitter-square"></i></a>
      </li>
      <li><a href=# style="text-decoration: none;"><i class="fab fa-facebook-square"></i></a>
      </li>
      </div>
        <div class = "leftcolumn">
            <ul>
      <li><a href=# style="text-decoration: none; color: white">About</a>
      </li>
      <li><a href=# style="text-decoration: none; "><i class="fab fa-github-square"></i></a>
      </li>
            <li><a href="https://www.linkedin.com/in/jajwalya-karajgikar/" style="text-decoration: none;"><i class="fab fa-linkedin"></i></i></a>
      </li>        
              
      </ul>
        </div>
        </nav>
</footer>
    
    
    
            
                
              
            
!

CSS

              
                #container {
  height: 100%;
}

header {
  background-color: #00867d;
  margin: 0px;
  padding: 15px 0px 30px 0px;
  font-family: 'Roboto Mono', monospace;
}

.logo {
  text-align: center;
}

.navbar {
  text-align: center;
  font-size: 20px;
  padding-left: 50px;
  padding-right: 100px;
}

ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
}

ul li {
  display: block;
  position: relative;
  float: left;
}

li ul {
  display: none;
}

ul li a {
  text-align: center;
  display: block;
  padding: 0px 10px 0px 10px;
  text-decoration: none;
  white-space: nowrap;
  color: #004d40;
  font-weight: bold;
}

ul li a: hover {
  background: #00acc1;
}
  li:hover ul {
    display: block; 
    position: absolute;
}
  li:hover li {
    float: none;
    
}
  li:hover a {
    background: #5ddef4;
    
}
  li:hover li a:hover {
    background: #00838f;
    
}
  #drop-nav li ul li {
    
}
.topnav {
  position: fixed;
  float: right;
  padding-left: 50px;
  background-color: #4fb3bf;
  box-shadow: 5px 5px #008ba3;
  transform: translate(45%, 45%);
}
@media screen and (max-width: 600px) {
    .topnav a {
        float: right;
        width: 100%
    }
}

body {
  background-color: #e0f2f1;
  font-family: 'Roboto Mono', monospace;
}

#welcome-section {
  margin: 0px;
  background-color: #4db6ac; 
  /*https://material.io/tools/color/#!/?view.left=0&view.right=0&primary.color=4DB6AC&secondary.color=00ACC18?*/
  top: 74px;
  padding: 20px 20px 2px 20px;
  
  text-align: center;
  
}

#welcome-section h1{
font-size: 40px;
  color: #006978;
}

#welcome-section h5 {
  font-size: 22px;
  color: #004d40;
} 

#typed {
  text-align: center;
  padding: 5px 20px 5px 0px;
  background-color: #82e9de;
}




footer {
   position:fixed;
   bottom:0;
   width:100%;
   height:30px;   
   background:#b2ebf2;
  font-size: 20px;
}
.rightcolumn {
position: fixed;
    right: 0px;
    bottom: 0px;
    width: 50%;
}
.leftcolumn {  
    position: fixed;
    bottom: 0;
    left: 0;
    width: 36%;
}
.fab {
  color: white;
  font-size: 30px;
}

.projects {
  text-align: center;
}
a {
  text-decoration: none;
  color: #260026;
}

.container {
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  
}

.card {
  width: 400px;
  height: 300px;
  background-color: #e7eded;
  box-sizing: border-box;
  border: 5px solid #b2d8d8;
  padding: 10px;
  margin: 15px 15px;
  box-shadow: 10px 5px #b2d8d8;
}
.card:hover{
  border: 5px solid #4db6ac;
  box-shadow: 5px 5px #2E6D67;
}
@media screen and (max-width: 992px) {
  .card {
    flex: 50%;width: 50%;
    
  }
}

h2 {
  margin: 0;
}
			
.line{
  width: 320px;
  height: 5px;
  margin-top: 10px;
}
@media screen and (max-width: 992px) {
  .line {
    width: 80%;
  }
}

p {
  margin-top: 15px;
	font-size: 15px;
	line-height: 1.6;
}

              
            
!

JS

              
                var typed = new Typed('#typed-str', {
  strings: ['World', 'Everyone'],
  typeSpeed: 100,
    backSpeed: 30,
    startDelay: 1200,
    smartBackspace: true,
    showCursor: false,
    loop: false
});  

var typed = new Typed('#typed-strings', {
    strings: ['Oops, I mean <i>Jajwalya</i>.','Oops, I mean <i>Jajwalya</i>.', 'Well, you can call me Jaj.'],
    typeSpeed: 100,
    backSpeed: 50,
    startDelay: 1200,
    smartBackspace: true,
    showCursor: false,
    loop: false
});

var typed = new Typed('#typed-strings-2', {
    strings: ['Content Creator.', 'Developer.', 'Digital Humanities enthusiast.', 'Computer Science Engineer.'],
    typeSpeed: 200,
    backSpeed: 30,
    backDelay: 500,
    smartBackspace: true,
    showCursor: true,
    loop: true
});

class Card extends React.Component {
	render() {
		return(
			<div className="card">
				<h2>{this.props.title}</h2>
				<div className="line" style={{backgroundColor: this.props.bgc}}></div>
				<p>{this.props.content}</p>
			</div>
		)
	}
}

class Link extends React.Component {
	render() {
		return(
			<a href={this.props.href}>{this.props.text}</a>
		)
	}
}

class App extends React.Component {
	constructor() {
		super()
		this.state = {
			teal1: '#009acd',
			teal2: '#00b2ee',
			teal3: '#00c5cd',
			teal4: '#00ced1',
      teal5: '#006666',
      teal6: '#66b2b2'
		}
	}
	render() {
		return(
			<div className="container">
      <a href="https://codepen.io/JajwalyaRK/pen/qMWWvd" class="card-block clearfix">
				<Card title="Sitar Stars Landing Page" bgc={this.state.teal1} content="FreeCodeCamp Responsive Web Design Project: Build a Product Landing Page with HTML CSS"/> </a>
				<a href="https://codepen.io/JajwalyaRK/pen/yxMqbE" class="card-block clearfix">
          <Card title="Google Search Home Page" bgc={this.state.teal2} content="The Odin Project Web Development 101 project: Build the Google.com homepage with HTML CSS"/></a>
				<a href="https://codepen.io/JajwalyaRK/pen/wEJKoq" class="card-block clearfix">
				<Card title="Android Logo" bgc={this.state.teal3} content="The Odin Project Web Development 101 project: Build the Android Logo with HTML CSS"/></a>
        <a href="https://codepen.io/JajwalyaRK/pen/dgPadY" class="card-block clearfix">
				<Card title="Rock Paper Scissors" bgc={this.state.teal4} content="The Odin Project Web Development 101 project: Build the Rock Paper Scissors Game with HTML CSS"/></a>
        <a href="https://codepen.io/JajwalyaRK/pen/xjwNLE" class="card-block clearfix">
        <Card title="Neil Gaiman Tribute Page" bgc={this.state.teal5} content="FreeCodeCamp Responsive Web Design Project: Build a Tribute Page with HTML CSS"/></a>
         <a href="https://codepen.io/JajwalyaRK/pen/jpRZPX" class="card-block clearfix">
        <Card title="The Office Downsizing Survey" bgc={this.state.teal6} content="FreeCodeCamp Responsive Web Design Project: Build a Survey Form with HTML CSS"/></a>
			</div>
		)
	}
}

ReactDOM.render(
	<App/>,
	document.getElementById('project-tile')
)
              
            
!
999px

Console