Complete Coding Labs Assignment

Coding Labs use GitHub and an online code editor to complete coding activities. As you work on labs, run your code to check your results.

  1. In the learning path, locate and open a Coding Labs assignment.
    The lab's landing page opens, showing its submission information.
  2. Click Start Assignment Now.

    The codespace for your lab loads in another tab. This might take a few minutes.

    Note
    • Your browser must allow pop-ups to open Coding Labs assignments.
    • Do not close the MindTap or Coding Labs tabs until you have submitted your lab.
  3. First time only: In the Coding Labs assignment, sign in to your GitHub account.

    You must have a GitHub account to use Coding Labs. You can use an existing account or create a new account.

    1. If you do not have an account, click Create an account.

      Follow GitHub's instructions to create and verify your account.

    2. Click Authorize careerdsvrusr to link your GitHub account to your MindTap course.

    Your GitHub account is linked to your MindTap course so you do not need to sign in to GitHub again.

  4. In the Companion tab on the right, GitHub displays a standard warning that you are about to access a development port served by another codespace. Click Continue.
  5. Follow the instructions in the Companion tab to complete your lab.
    To do this Do this
    Open the Explorer to browse and manage lab files In the codespace Activity Bar, click Explorer.
    Manage extensions In the codespace Activity Bar, click Extensions.
    Open the Companion tab to access lab instructions, run code, and submit your lab In the codespace Activity Bar, click Cengage Companion > Open Companion Tab.
    View lab instructions In the Companion tab toolbar, click Open instructions.
    Open command palette In the Companion tab toolbar, click Open command palette.
    Show/Hide terminal In the Companion tab toolbar, click Toggle Terminal.
    Select a database In the Companion tab toolbar, click Select database.

    This feature is only available in SQL labs.

    Reset your lab
    1. In the Companion tab toolbar, click Reset exercise.
    2. Click Reset to confirm.
    Run code
    • In the Companion tab toolbar, click Run code.
    • At the bottom of the Companion tab, click Run Code.
    Download your work as a .zip file
    1. In the codespace Activity Bar, click Cengage Companion > Bundle Current Workspace.

      The Explorer tab opens.

    2. Under Student, right-click the .zip file and click Download.
  6. Check your work in the Companion tab and edit as needed.

    Your final score is based on the work in the code editor when you submit your lab.

    • To check an individual task, click Run tests next to the task instructions.
    • To view feedback for each task, click Show feedback for task.
    • To check the entire lab, click Calculate Grade at the bottom of the Companion tab.

      Calculate Grade is not available for manually graded or practice labs.

    Depending on your GitHub account settings, you might receive an email notification after you run code. To disable unwanted notifications, see GitHub Notifications.
  7. To submit your lab, click Submit at the bottom of the Companion tab.
    Important

    Do not close the tab until you see the message Your score has been submitted. It might take several minutes to run the code and submit your lab.

    The Submit button does not display for practice labs.

After you submit your lab, your instructor will be able to view your code as a contributor.