fix(curriculum): refine editable regions in build a heart icon (#65302)

Co-authored-by: Jeevankumar-S <jeevenkumar2003@email.com>
This commit is contained in:
Jeevankumar S
2026-01-20 07:46:55 +05:30
committed by GitHub
parent e30017b169
commit dfe5b5680f
5 changed files with 11 additions and 9 deletions

View File

@@ -32,11 +32,11 @@ assert.exists(path);
<title>Heart Icon</title>
</head>
<body>
--fcc-editable-region--
<svg>
</svg>
--fcc-editable-region--
--fcc-editable-region--
</svg>
</body>
</html>
```

View File

@@ -46,11 +46,13 @@ assert.strictEqual(
<title>Heart Icon</title>
</head>
<body>
--fcc-editable-region--
<svg>
<path></path>
<path
--fcc-editable-region--
--fcc-editable-region--
></path>
</svg>
--fcc-editable-region--
</body>
</html>
```

View File

@@ -41,11 +41,11 @@ assert.strictEqual(svg.getAttribute('height'), '24');
<body>
--fcc-editable-region--
<svg>
--fcc-editable-region--
<path
d="M12 21s-6-4.35-9.33-8.22C-.5 7.39 3.24 1 8.4 4.28 10.08 5.32 12 7.5 12 7.5s1.92-2.18 3.6-3.22C20.76 1 24.5 7.39 21.33 12.78 18 16.65 12 21 12 21z"
></path>
</svg>
--fcc-editable-region--
</body>
</html>
```

View File

@@ -81,11 +81,11 @@ assert.strictEqual(height, '24');
<body>
--fcc-editable-region--
<svg width="24" height="24">
--fcc-editable-region--
<path
d="M12 21s-6-4.35-9.33-8.22C-.5 7.39 3.24 1 8.4 4.28 10.08 5.32 12 7.5 12 7.5s1.92-2.18 3.6-3.22C20.76 1 24.5 7.39 21.33 12.78 18 16.65 12 21 12 21z"
></path>
</svg>
--fcc-editable-region--
</body>
</html>
```

View File

@@ -44,11 +44,11 @@ assert.strictEqual(fill, "red");
<body>
--fcc-editable-region--
<svg width="24" height="24" viewBox="0 0 24 24">
--fcc-editable-region--
<path
d="M12 21s-6-4.35-9.33-8.22C-.5 7.39 3.24 1 8.4 4.28 10.08 5.32 12 7.5 12 7.5s1.92-2.18 3.6-3.22C20.76 1 24.5 7.39 21.33 12.78 18 16.65 12 21 12 21z"
></path>
</svg>
--fcc-editable-region--
</body>
</html>
```