why when i run server (flask run) the website is empty

Rima Nemri 0 Reputation points
2024-05-23T16:18:47.2066667+00:00

why when i run flask there is nothing on the web page i didn't get any errors , i wrote the application.py code well i should get a message saying Hello Best Bike App!

This question is related to the following Learning Module

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,184 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Abdul 2,040 Reputation points Microsoft Vendor
    2024-05-24T03:40:12.7566667+00:00

    Hi Rima Nemri,

    Thank you for reaching out to the Microsoft Q&A forum.

    We understand you're having an issue during your Microsoft Learn training. We apologize for the inconvenience.

    • Please begin by activating the new sandbox environment as directed in the exercise. This sandbox is a temporary workspace that will allow you to complete the tasks without affecting any live environments
    • Once you have activated the sandbox, proceed to create the web app according to the instructions provided in the exercise. Ensure that you follow each step carefully to avoid any issues during the setup.
    • After the sandbox is activated, you will need to complete Units 3, 5, and 7. These units contain detailed instructions that are crucial for the successful creation and deployment of your web app. Make sure to follow these instructions step-by-step to ensure everything is set up correctly.
    • After the deployment is complete, you will receive a link to your newly deployed web app. This link will allow you to access and test your web app to ensure it is working as expected. The link you receive will look similar to the one shown in the screenshot below.

    webapp

    Web App deployed successfully and able to get the Output as shown in the below:

    Screenshot 2024-05-24 083233

    NOTE:Please note that you need to complete all the exercises before the sandbox expires. The sandbox environment is temporary, and once it expires, you will lose access to it and any progress made within it. Therefore, it's important to finish all the required exercises within the given timeframe to ensure you can complete the tasks as instructed.

    If you have found the provided answer to be helpful, we kindly request your consideration in accepting the answer. By clicking on the "Accept answer" button, you can contribute to increasing the visibility of this question for other members of the Microsoft Q&A community.

    Should challenges persist, please attach relevant screenshots for further assistance

    Thank you.