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-19 21:16:55 -05:00
committed by GitHub
co-authored by Jeevankumar-S
parent e30017b169
commit dfe5b5680f
5 changed files with 11 additions and 9 deletions
@@ -32,11 +32,11 @@ assert.exists(path);
<title>Heart Icon</title> <title>Heart Icon</title>
</head> </head>
<body> <body>
--fcc-editable-region--
<svg> <svg>
</svg>
--fcc-editable-region-- --fcc-editable-region--
--fcc-editable-region--
</svg>
</body> </body>
</html> </html>
``` ```
@@ -46,11 +46,13 @@ assert.strictEqual(
<title>Heart Icon</title> <title>Heart Icon</title>
</head> </head>
<body> <body>
--fcc-editable-region--
<svg> <svg>
<path></path> <path
--fcc-editable-region--
--fcc-editable-region--
></path>
</svg> </svg>
--fcc-editable-region--
</body> </body>
</html> </html>
``` ```
@@ -41,11 +41,11 @@ assert.strictEqual(svg.getAttribute('height'), '24');
<body> <body>
--fcc-editable-region-- --fcc-editable-region--
<svg> <svg>
--fcc-editable-region--
<path <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" 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> ></path>
</svg> </svg>
--fcc-editable-region--
</body> </body>
</html> </html>
``` ```
@@ -81,11 +81,11 @@ assert.strictEqual(height, '24');
<body> <body>
--fcc-editable-region-- --fcc-editable-region--
<svg width="24" height="24"> <svg width="24" height="24">
--fcc-editable-region--
<path <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" 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> ></path>
</svg> </svg>
--fcc-editable-region--
</body> </body>
</html> </html>
``` ```
@@ -44,11 +44,11 @@ assert.strictEqual(fill, "red");
<body> <body>
--fcc-editable-region-- --fcc-editable-region--
<svg width="24" height="24" viewBox="0 0 24 24"> <svg width="24" height="24" viewBox="0 0 24 24">
--fcc-editable-region--
<path <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" 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> ></path>
</svg> </svg>
--fcc-editable-region--
</body> </body>
</html> </html>
``` ```