Skip to content

[Bug] Exercise: Getting Started with GitHub Copilot #1 Step 3 #25

Open
@rnottinger

Description

@rnottinger

Summary

When I pushed the changes for Step 3, it said Step 3 - Fail with Status of Fail on style.css.

How to reproduce

So I looked at code that was added to style.css using Copilot Edit and it looked good.

I was able to track down the bug by clicking on

  • the Actions tab in the repository,
  • then click Step 3,
  • then 3-copilot-edits.yml
    • then scroll down to the comment
      • # Check for participants info in styles.css
        • and noticed that it was doing a search for the substring participant
          • keyphrase='participant'
  • I then looked at the code added by Copilot to style.css and it created a class called .activity-card
    • I modified .activity-card to be .participant-card

Image

  • I also had to modify the app.js file to use the .participant-card css class instead of .activity-card

Image

  • I then pushed the changes and I got Step 3 - Passed ✅
    • Problem Solved!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions