Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML SVG Basics Introduction to SVG SVGs as Images

E Mula
E Mula
5,081 Points

my workspace has no files to work with

my svg files are not showing on screen so what do i do to get them

4 Answers

shashi7
shashi7
11,032 Points

I came here to post the same question but looks like lots of people already complaining about the same. Yes, No files in the workspace but I managed to find the workaround files by just looking at the video and copy the code. Here are the required files to follow along the code: index.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Scalable Vector Graphics</title>
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="css/normalize.css">
</head>
<body>
    <h1>SVG Example</h1>

    <div class="wrapper">

    </div>
</body>

</html>

main.css

body {
    font-family: 'Nunito', sans-serif;
    color: #384047;
}


h1, h2 {
    margin: 30px 0;
    text-align: center;
}

.wrapper {
    max-width: 90%;
    margin: 10px auto;
    padding: 10px 20px;
    background: #f4f7f8;
    border-radius: 8px;
}

normalize.css (https://necolas.github.io/normalize.css/8.0.0/normalize.css)

and finally...... Just change the filename from HTML-SVG.svg("Downloaded zip file") to star.svg

Good Luck all.

christineroukey
christineroukey
3,524 Points

This is definitely helpful! Thank you, shashi7! It is still apparently an issue over a year later. I submitted a contact form to Support to notify them of the problem and asked them to look into it.

Ally Sparham
Ally Sparham
9,753 Points

Still an issue now! In the downloadable course files, there is no html or css file.

Anthony Jones
Anthony Jones
2,662 Points

I downloaded the course files and opened them using my text editor. I then copy and pasted each file individually onto workspaces. The svg file is correct, name just needs changing to star.svg. Hope this helps.