From the course: Visual Studio: Source Control with Git and GitHub

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Change the HTML in fork

Change the HTML in fork - Visual Studio Tutorial

From the course: Visual Studio: Source Control with Git and GitHub

Start my 1-month free trial

Change the HTML in fork

- To keep this simple, I'll just make a minor fix in this index.cshtml file, or I should say Terry will make the fix. And the fix we're going to make is on line 15. I'll modify the bootstrap syntax in this div. Let's look at what's happening here first. This is a cshtml file, it's a razor page. And up here we have the, for each in C# that is for reaching over all of the MonsterCards and outputting a series of divs. And this div is outputting the slogan. Let's see what this looks like. This is the slogan here, it's in blue. It's blue because we're using alert-primary. Let's switch that to alert-warning, save the file here, switch back to the browser, refresh. Now we've got this yellow color that matches Mingle's body color. That looks good, so this is the change that we're going to commit.

Contents