Exercise: Edit Pages in Explore Power Pages design studio

Mike Smith 0 Reputation points
2024-12-24T14:14:45.8933333+00:00

The exercise instructions call for manually adding this block to a page via VS Code:

<div role="alert" class="alert alert-info alert-dismissible"> <button type="button" data-bs-dismiss="alert" aria-label="Close" class="close"><span aria-hidden="true">×</span></button> <strong>Happy <span>{{ now | date: 'MMMM' }}</span>!</strong> Get your unlimited free education at <a href="https://learn.microsoft.com/">Microsoft Learn</a> </div>

According to the instructions, this should add a "dismissible" alert to the page:

  1. Press cross (x) icon to dismiss the alert.

After syncing and opening the page via the preview link, the alert appears but is not dismissible. Clicking the (x) icon does nothing.

Microsoft Power Platform Training
Microsoft Power Platform Training
Microsoft Power Platform: An integrated set of Microsoft business intelligence services.Training: Instruction to develop new skills.
508 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.