Skip to content

Commit 713cb27

Browse files
Fix challenge example solution not displayed (#47143)
* Fix fibonacci challenge example solution not displayed Added a linebreak between the details tag and the code block. * Fix example solutions not displayed Added a linebreak after the details tag and the code block in these pages.
1 parent 19ac4b8 commit 713cb27

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

docs/csharp/tour-of-csharp/tutorials/branches-and-loops.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ Did you come up with something like this?
141141

142142
<!-- markdownlint-disable MD033 -->
143143
<details>
144+
144145
:::code language="csharp" interactive="try-dotnet-method" source="./snippets/BranchesAndLoops/Program.cs" id="Challenge":::
145146
</details>
146147
<!-- markdownlint-enable MD033 -->

docs/csharp/tour-of-csharp/tutorials/hello-world.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ Did you come up with something like the following (expand to see the answer):
121121

122122
<!-- markdownlint-disable MD033 -->
123123
<details>
124+
124125
:::code language="csharp" interactive="try-dotnet-method" source="./snippets/HelloWorld/Program.cs" id="Challenge":::
125126
</details>
126127
<!-- markdownlint-enable MD033 -->

docs/csharp/tour-of-csharp/tutorials/list-collection.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Did you come up with something like this?
7777

7878
<!-- markdownlint-disable MD033 -->
7979
<details>
80+
8081
:::code language="csharp" interactive="try-dotnet-method" source="./snippets/ListCollection/Program.cs" id="Answer":::
8182

8283
With each iteration of the loop, you're taking the last two integers in the list, summing them, and adding that value to the list. The loop repeats until you added 20 items to the list.

docs/csharp/tour-of-csharp/tutorials/numbers-in-csharp.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ Once you try it, open the details pane to see how you did:
128128

129129
<!-- markdownlint-disable MD033 -->
130130
<details>
131+
131132
:::code language="csharp" interactive="try-dotnet-method" source="./snippets/NumbersInCsharp/Program.cs" id="Challenge":::
132133
</details>
133134
<!-- markdownlint-enable MD033 -->

0 commit comments

Comments
 (0)