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,031 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.

Rouillie Wilkerson
Rouillie Wilkerson
10,406 Points

Thanks heaps! Super helpful and thorough. You're hired! :)

Ally Sparham
Ally Sparham
9,752 Points

Thanks for providing this :)

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,752 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.