Portfolio Website finished

Portfolio Website finished
0

#1

Hey!

I just finished my second project on FCC.
I would appreciate your comments and feedback.
Thank you in advance.
https://codepen.io/panos_andry/full/zPyKGX/


#2

Great work. Hope you have added media queries to make it mobile responsive too.


#3

Thank you mate!
No, I haven’t done this. Could you please tell me which tag should I use?


#4

I put a media query but I don’t see any changes in my mobile screen. The navigation bar is vertical and in center, which doesn’t seem so good I think.

How can I make it more mobile-friendly?

HTML:

<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Lobster">

<body>
  <div class="container-fluid">

    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container-fluid">
        <div class="navbar-header">
          <a class="navbar-brand" href="#top">Panagiotis Andrikopoulos</a>
        </div>
        <ul class="nav navbar-nav">
        </ul>
        <ul class="nav navbar-nav navbar-right">
          <li><a href="#about me"><i class="fa fa-user" aria-hidden="true"></i>About Me</a></li>
          <li><a href="#portfolio"><i class="fa fa-suitcase" aria-hidden="true"></i>Portfolio</a></li>
          <li><a href="#Contact"><i class="fa fa-envelope-o" aria-hidden="true"></i>Contact</a></li>
        </ul>
      </div>
    </nav>
    <a name="top"></a>
    <div class="spacer"></div>
    <a name="about me"></a>
    <div class="block">
      <h1 class="text-center"><span>Panagiotis Andrikopoulos</span></h1>
      <hr><br>
      <img src="https://pbs.twimg.com/profile_images/939846628655157248/sYneeKTn_400x400.jpg" alt="Panos" style="width:300px; height:300px;">
      </h1><br>
      <p>Hi there, this is Panos from Greece. I have recently relocated to Dublin, Ireland. I work as a Digital Marketing Specialist for Google AdWords at Accenture. What I actually do is helping small and medium sized businesses set up their online advertisements in Google.
        I optimize their ad campaigns and make sure that they get a high ROI and more revenue. </p>
      <p>When did I start getting interested in coding? Once I checked the page source of a website and I realized two things: first, that it's impossible to do such a thing and second, that it's REALLY impossible to do such a thing! Well, since
        I love challenges I started learning about web development. And that's when I started loving it. I find it amazing and I can't stop coding. Where will that lead? Who knows? I don't care about the destination. All I care about is the journey...</p>
    </div>
    <div class="spacer"></div>
    <a name="portfolio"></a>
    <div class="block">
      <h1 class="text-center"><span>Portfolio</span><hr></h1><br>
      <div class="row text-center" style="padding:5%">
        <div class="col-md-6">
          <div class="card" style="width: 20rem;">
            <img class="card-img-top" src="http://www.theloop.ca/wp-content/uploads/2015/01/Groundhog-Day-Gallery-Main-Photo.jpg" alt="Groundhog Day" style="width:200px; height:200px;">
            <div class="card-body">
              <h4 class="card-title">My First Project - Tribute Page</h4>
              <a href="https://codepen.io/panos_andry/full/Zajryo/" class="btn btn-primary" style="font-size:20px" target="blank">Click Me</a>
            </div>
          </div>
        </div>
        <div class="col-md-6">
          <div class="card" style="width: 20rem;">
            <img class="card-img-top" src="http://ih1.redbubble.net/image.5551197.0068/sticker,375x360.png" alt="This Page" style="width:200px; height:200px;>
  <div class=" card-body ">
    <h4 class="card-title ">This personal website is my second project</h4>
      
  </div>
</div></div>
      </div>

      <div class="row text-center " style="padding:5% ">
        <div class="col-md-6 "></div>
        <div class="col-md-6 "></div>
      </div>
          </div>
    <div class="spacer "></div>
    <a name="Contact"></a>
    <div class="block2 ">
      <h1 class="text-center ">Contact</h1>
      <hr>
      <!-- Google Font Used-->
<link href='https://fonts.googleapis.com/css?family=Noticia+Text:400,700' rel='stylesheet' type='text/css'>
<!-- END -->
<div class="form-container ">
<form>
  Name:<br>
  <input type="text " placeholder="John Doe " size="65 "/><br>
  Email:<br>
  <input type="text " placeholder="john@doe.com " size="65 "/><br>
  Message:<br>
  <textarea placeholder="your message... " cols="63 " rows="5 "></textarea><br>
  <input type="button " value="send "/>
</form>
                                   
</div>
                                   <hr>
                                   <div class="footer-social-icons ">
    <h4 class="_14 ">Follow me on</h4>
    <ul class="social-icons ">
       
        <li><a href="https://twitter.com/panos_andry " class="social-icon " target="blank "> <i class="fa fa-twitter "></i></a></li>
      <li><a href="https://github.com/panos521 " class="social-icon " target="blank "> <i class="fa fa-github "></i></a></li>
        
        <li><a href="https://www.linkedin.com/in/panagiotis-andrikopoulos-5752687b/ " class="social-icon " target="blank "> <i class="fa fa-linkedin "></i></a></li>
        
    </ul>
</div>
    </div>
                             
                                                 </div>
  </div>

</body>

CSS:

  background: no repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  font-family: Lobster;
}

.bg {
  /* The image used */
  background-image: url(https://images.unsplash.com/photo-1505672450728-f972162ebeae?auto=format&fit=crop&w=1500&q=80&ixid=dW5zcGxhc2guY29tOzs7Ozs%3D);

  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.navbar-brand {
  font-size: 20px;
}

li {
  font-size: 20px;
}
.spacer {
  padding: 5%;
}
.block {
  background-color: black;
  color: white;
  width: 75%;
  margin: auto;
  border-radius: 15px;
  font-size: 1, 5em;
  opacity: 0.75;
  padding: 3%;
}
p {
  font-size: 20px;
  font-family: Gothic Century;
  text-align: justify;
}
.block2 {
  background-color: black;
  color: white;
  width: 75%;
  margin: auto;
  border-radius: 15px;
  font-size: 1, 5em;
  opacity: 0.75;
  padding: 3%;
  font-family: Lobster;
}

img {
  border-radius: 10%;
  display: block;
  margin: auto;
  opacity: 1;
  
}

/*------------------Form Styles------------------*/
.form-container {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 20px;
  overflow: hidden;
  color: #0083ff;
}
/*Styling all input types except "submit,file,button"*/
input:not([type="submit"]):not([type="file"]):not([type="button"]) {
  border-radius: 5px;
  border: 2px solid #dadada;
  height: 25px;
  line-height: 25px;
  font-family: "Noticia Text", serif;
  padding-left: 5px;
  outline-color: #0083ff;
}
/*---------------Styling textarea----------------*/
textarea {
  border-radius: 5px;
  border: 2px solid #dadada;
  line-height: 25px;
  font-family: "Noticia Text", serif;
  padding-left: 5px;
  outline-color: #0083ff;
}
/*----------Styling submit and button------------*/
input[type="button"],
input[type="submit"] {
  background: #f2f2f2;
  border: 2px solid #dadada;
  border-radius: 5px;
  width: 75px;
  line-height: 25px;
  text-transform: uppercase;
  color: #999;
  outline: #0083ff;
}
/*------Hover effects for submit and button------*/
input[type="submit"]:hover,
input[type="button"]:hover {
  border: 2px solid #0083ff;
  border-radius: 5px;
  color: #0083ff;
  cursor: pointer;
}
@import url(https://fonts.googleapis.com/css?family=Lato);
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css);

a {
  text-decoration: none;
  color: #fff;
}
p > a:hover {
  color: #d9d9d9;
  text-decoration: underline;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1% 0 1% 0;
}
._12 {
  font-size: 1.2em;
}
._14 {
  font-size: 1.8em;
  text-align: center;
  font-family: Arial;
}
ul {
  padding: 0;
  list-style: none;
  text-align: center;
}
.footer-social-icons {
  width: 350px;
  display: block;
  margin: 0 auto;
}
.social-icon {
  color: #fff;
}
ul.social-icons {
  margin-top: 10px;
}
.social-icons li {
  vertical-align: top;
  display: inline;
  height: 100px;
}
.social-icons a {
  color: #fff;
  text-decoration: none;
}

.fa-twitter {
  padding: 10px 12px;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: #322f30;
}
.fa-twitter:hover {
  background-color: #00aced;
}

.fa-linkedin {
  padding: 10px 14px;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: #322f30;
}
.fa-linkedin:hover {
  background-color: #0073a4;
}
.fa-github {
  padding: 10px 9px;
  -o-transition: 0.5s;
  -ms-transition: 0.5s;
  -moz-transition: 0.5s;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background-color: #322f30;
}
.fa-github:hover {
  background-color: #e25714;
}
h4 {
  font-family: Verdana;
}
.card {
  margin: auto;
  display: block;
}

jQuery:

$(function() {
  var backgroundImg = [
    "https://images.unsplash.com/photo-1480618757544-81c31930008e?auto=format&fit=crop&w=1426&q=80&ixid=dW5zcGxhc2guY29tOzs7Ozs%3D",
    "https://images.unsplash.com/photo-1480430158524-ae7ea5944e3f?auto=format&fit=crop&w=1500&q=80&ixid=dW5zcGxhc2guY29tOzs7Ozs%3D"
  ];

  $("body").css("background-image", "url(" + backgroundImg[1] + ")");
});

#5

nahh, I need to learn media queries too. I’m too not experienced with that.