Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


vijay chekuri
vijay chekuri
1,791 Points

getting index of/ line when i type my (http://vijayportfolio.com) website name. can someone help me with this?

i did design a simple portfolio website while watching these tutorials. i did upload my files to server and my domain name is " vijayportfolio.com ". i could not find my website and i could not find my profile pic inside. i did try "../img/vijay1.jpg" and "img/vijay1.jpg"

3 Answers

This is your code:

  <title>Index of /</title>
<h1>Index of /</h1>
<ul><li><a href="portfolio/"> portfolio/</a></li>

You have an extra / just before your closing tags, but otherwise it is displaying what you told it to.

When I follow your portfolio link I find a much better site. I think your problem is that the default home page is index.html. This is the code from your portfolio link:

<!DOCTYPE html>
    <meta charset="utf-8">
    <title>VIJAY | Designer & Developer </title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="css/responsive.css">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <a href="index.html" id="logo">
        <h1> VIJAY</h1>
        <h2>Designer & Developer</h2>
          <li><a href="index.html" >Portfolio</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="contact.html">Contact</a></li>
    <div id="wrapper">
<p>Skilled front end developer with a big focus in to HTML5,CSS and Javascript. I can write solid and well organized code from scratch with a focus on keep pushing new technologies that better assist people in their everyday lives. </p>      
        <p> PREVIOUS WORK:<br> 1.Worked with SNESTER INFO SERVICES PVT LTD.  As a Jr Web Designer from Sep’2013 to Jul’2014 (India).<br>

    2.Working for LAVU TECH SOLUTIONS SDN BHD from December 2014 to till date as a Front-end Web Developer (Malaysia).<br>
        <p> TECHNICAL SKILLS:<br>
           Languages        :   PHP and SQL.<br>
Scripts         :   HTML, CSS, Java Script, JQuery, Ajax.<br>
Others          :   WordPress, Bootstrap, Photoshop, Angular.js, Responsive Web Design, Adobe, <br>
Server Technologies :   Apache Server.  <br>    
Databases       :   MySQL.<br>
Operating Systems   :   Windows family. <br>
Basic understanding of server-side CSS pre-processing platforms, such as LESS and SASS.

        <a href="http://twitter.com/@vijayprinceuk"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a>
        <a href="http://facebook.com/vijay.prince.7"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a>
        <p>&copy; 2015 VIJAY CHEKURI.</p>

<!-- Hosting24 Analytics Code -->
<script type="text/javascript" src="http://stats.hosting24.com/count.php"></script>
<!-- End Of Analytics Code -->

I am not sure that the hosting2 code will work since it is outside the html tags.

Following your portfolio link in your nav is blocked by Norton as a known malicious site. The second time I tried it worked fine.

I don't know your folder structure, but you probably need at least one ../ from what I can see from looking at the page source. You may also need a folder before img. Double check your path in that link.

I would also take down the email address from your contact page. There are things roaming the web to glean emails for spammers.

Less is not a server side process. It is JavaScript browser based processor.

vijay chekuri
vijay chekuri
1,791 Points

i do have an index.html file and i did save my image in image folder ..

The first code I posted is what your index.html file on your web site has. The main site is in the portfolio file and not seen as your home page.