MicrosoftDocs / mslearn-interact-with-data-blazor-web-apps

Sample repo for Interact with Data for Blazor Web Apps Learn Module
Creative Commons Attribution 4.0 International
44 stars 209 forks source link

Syntax errors in unit 9 #9

Open Thebe01 opened 2 years ago

Thebe01 commented 2 years ago

In :

<div class="order-total @(order.Pizzas.Any() ? "" : "hidden")">
        Total:
        <span class="total-price">@order.GetFormattedTotalPrice()</span>
        <a href="checkout" class="@(OrderState.Order.Pizzas.Count == 0 ? "btn btn-warning disabled" : "btn btn-warning")">
            Order >
        </a>
    </div>

Seem to be missing "> after order-total... and the last " in the line should be removed. I believe the first line should read : <div class="order-total">@(order.Pizzas.Any() ? "" : "hidden")>