dotnet / dotnet/docs

Embedded code not displaying when clicking on 'Details' for all 4 'tour-of-csharp tutorials'

Open
#45,327 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

### Describe the issue or suggestion

'Details' was introduced to display the answers of the challenge in the following tutorials:

1. [Hello World]( https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/hello-world)
2. [Numbers in C#](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/numbers-in-csharp)
3. [Branches and Loops](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/branches-and-loops)
4. [List Collections](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/list-collection)

however, it's not working properly.

Check: [Hello world tutorial](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/hello-world)

How it currently looks:
![Image](https://github.com/user-attachments/assets/5308e49b-5b27-40ab-96b8-fde61931942e)

Check: [Numbers in C#](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/numbers-in-csharp)

How it currently looks:
![Image](https://github.com/user-attachments/assets/505df813-d6db-42f8-a5b7-1c108e05a121)

Check: [Branches and Loops](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/branches-and-loops)

How it currently looks:
![Image](https://github.com/user-attachments/assets/4b78e317-b710-43bb-a05e-beee4b864434)

Check: [List Collections](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/list-collection)

How it currently looks:
![Image](https://github.com/user-attachments/assets/7b8c644a-3d0e-405b-9e57-807e04e6728c)

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: 8053bb96-cc40-8369-c07f-f9fd14060c1e
* Version Independent ID: 293260e2-f444-537b-0ba7-14d1fb6ebcf2
* Platform ID: 12d9bfb1-86fb-b158-4b68-7d93a12e7c23
* Content: [Hello World - Introductory interactive tutorial - A tour of C#](https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/hello-world)
* Content Source: [docs/csharp/tour-of-csharp/tutorials/hello-world.md](https://github.com/dotnet/docs/blob/main/docs/csharp/tour-of-csharp/tutorials/hello-world.md)
* Service: **dotnet-csharp**
* Sub-service: **get-started**
* GitHub Login: @BillWagner
* Microsoft Alias: **wiwagn**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.