@page
@model IndexModel
@{
    ViewData["Title"] = "Home page";
}

<div class="text-center">
    <h1 class="display-4">Welcome</h1>
    <p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>

<form method="post">
    <button onclick="onClickMe">
        click me
    </button>
</form>



@section Scripts {
    <script>
        function onClickMe() {
            alert('yoloooo');
        }
    </script>
}