I'm new to the MVC foreach loop styling. How do I style the @item.QuizForHint? I did tried putting #QuizForHint but it's did not work. The @item.QuizForHint will be getting the data from the database.
@foreach (var item in Model){
<a href="@("#QuizForHint"+i)" id="getAnsHint" class="btn" data-toggle="collapse">Quiz Hint</a>
<div id="@("QuizForHint"+i)" class="collapse">
@item.QuizForHint
}