Ok, so I’m almost done with my portfolio project but there are a few things a want to do. The first is I need a way to shorten a image address so that it don’t add so much space to my html file. Second, is my navbar, I need it to stay fixed but every time a fix it to the top of the page using nav-bar-fixed or whatever, it overlaps with other parts of my webpage and z-index doesn’t help for some reason. Third, my message textarea placeholder text isn’t showing up. Lastly, my facebook icon isn’t showing up as well. Can someone shed some light on some or all of these problems for me.
P.S. Anything else you see wrong on my webpage or something I could do better, please don’t hesitate to tell me about it.
Others have already pointed out some of the issues while I was writing this but I’ll go ahead and post the whole thing anyway:
Simple way to get an image from anywhere else is right-clicking on it and then do “Search Google for image”. In your case, this is another link for your image: https://pbs.twimg.com/media/CaKUT34UMAADx-s.jpg
Since you’re using Bootstrap 3, your navbar should be like this, look here. An example:
You don’t really need to wrap it in a container. Also, the Bootstrap 3 javascript file should be included AFTER jQuery in your pen settings.
To avoid it covering your content, give some padding to the body
body {
background-color: black;
padding-top: 50px;
}
And, to avoid it covering your sections when you click on the links in the navbar, give some padding and negative margin to each of your sections (even if in your case, it would only cover your about section):
Your textarea’s placeholder isn’t showing 'cause you have a lot of spaces between the opening and closing tag. That space in between the two is the value of the textarea and, as you may know, the placeholder hides itself if any value is there. So, this:
Your facebook icon isn’t showing 'cause you haven’t linked font-awesome in your settings. You also didn’t close the <i> tag correctly and you can’t use the attribute style like that. It should be style="font-size:10px" but you should always style your elements in CSS, just to make it easier for you to change them whenever you’ll need to.
As for other suggestions, I would revisit the whole color scheme on your page; it’s kinda hard to see things.