Skip to content

Commit

Permalink
fix indents
Browse files Browse the repository at this point in the history
  • Loading branch information
jtr13 committed Nov 3, 2024
1 parent dceb2be commit cffc1a4
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions code/shapes.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Shapes</title>
<script src="https://d3js.org/d3.v7.js"></script> <!-- link to D3 library -->
<head>
<meta charset="utf-8">
<title>Shapes</title>
<script src="https://d3js.org/d3.v7.js"></script> <!-- link to D3 library -->

<style type="text/css">
h1 {color:red;} /* CSS styling */
p {color:blue;}
</style>
<style type="text/css">
h1 {color:red;} /* CSS styling */
p {color:blue;}
</style>

</head>
</head>

<body>
<h1>h1 header</h1> <!-- some HTML -->
<h2>h2 header</h2>
<h3 style="font-family: Palatino;">h3 header</h3>
<p>paragraph</p>
<body>
<h1>h1 header</h1> <!-- some HTML -->
<h2>h2 header</h2>
<h3 style="font-family: Palatino;">h3 header</h3>
<p>paragraph</p>

<svg width="500" height="300"> <!-- some SVG -->
<rect x="20" y="20" width="460" height="260" fill="lightblue"></rect>
<circle cx="50" cy="75" r="20" fill="blue"></circle>
<ellipse cx="175" cy="100" rx="45" ry="30" fill="green"></ellipse>
<text x="150" y="200">(150, 200)</text>
<line x1="250" y1="150" x2="300" y2="200" stroke="red" stroke-width="5"></line>
</svg>
<svg width="500" height="300"> <!-- some SVG -->
<rect x="20" y="20" width="460" height="260" fill="lightblue"></rect>
<circle cx="50" cy="75" r="20" fill="blue"></circle>
<ellipse cx="175" cy="100" rx="45" ry="30" fill="green"></ellipse>
<text x="150" y="200">(150, 200)</text>
<line x1="250" y1="150" x2="300" y2="200" stroke="red" stroke-width="5"></line>
</svg>

<script>
// JavaScript / D3 will go here
</script>
<script>
// JavaScript / D3 will go here
</script>

</body>
</body>

</html>

0 comments on commit cffc1a4

Please sign in to comment.