Skip to content

Conversation

@thebaraah
Copy link

No description provided.

@github-actions

This comment has been minimized.

@thebaraah thebaraah changed the title week 1 assignment submission thebaraah Jan 16, 2026
@github-actions

This comment has been minimized.

@thebaraah thebaraah closed this Jan 16, 2026
@thebaraah thebaraah reopened this Jan 16, 2026
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@thebaraah thebaraah closed this Jan 16, 2026
@thebaraah thebaraah reopened this Jan 16, 2026
@github-actions

This comment has been minimized.

@mnvacym mnvacym self-assigned this Jan 18, 2026
Copy link

@mnvacym mnvacym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Baraah, good job on your first assignment.

The steps you followed are correct, but the content in the setup.sh file is incorrect. Your file needs to be an executable shell script. Essentially, when you run the command sh setup.sh, it should execute all those steps:

The script should work from any folder and run on any computer with Bash shell and Node.js installed.

You might want to revisit the Basic Scripting section.

For the second task, it appears there is an issue with the Top Languages Card and Streak Stats Card on your GitHub profile.

As per the Submission Guideline, the PR title should be your name with the first letter of the last name. Please refer to step 6:

The title of the PR should be your name with the first letter of the last name

Overall, you did a good job, but you need to update your setup.sh file so it can be executed. Best of luck on your journey at Hack Your Future.

task-1/setup.sh Outdated
barbari@baraahs-MBP-2 project % rm -r src/profile
barbari@baraahs-MBP-2 project % rm resources/"family picture.jpg"
barbari@baraahs-MBP-2 project % git add .
barbari@baraahs-MBP-2 project % git commit -m "Updated"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit message needs to be descriptive:

11. Create a second commit with the new changes. Provide a descriptive message.

task-1/setup.sh Outdated
barbari@baraahs-MBP-2 project % node src/program.js
javascript works!
barbari@baraahs-MBP-2 project % git add .
barbari@baraahs-MBP-2 project % git commit -m "changed program to JScript and added console.log"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice descriptive commit message.

task-1/setup.sh Outdated
Movies file2.txt project
Music flask web app project_flask.zip
Notebook python hello.js user
barbari@baraahs-MBP-2 project % cd ~/project
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As of this point you're already in project, so no need for cd ~/project

@@ -1 +1,85 @@
# Write your code here

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Usually it is a good practice to include #!/bin/bash or #!/usr/bin/env bash line at the beginning of a shell script file.

task-1/setup.sh Outdated
create mode 100644 resources/logo.png
create mode 100644 settings.conf
create mode 100644 src/program.java
barbari@baraahs-MBP-2 project % echo "Setup project.."
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to add a command for waiting for 3 seconds:

6. Wait for 3 seconds

task-1/setup.sh Outdated
[main 8c4b760] Updated
2 files changed, 1 insertion(+)
delete mode 100644 resources/family picture.jpg
barbari@baraahs-MBP-2 project % ls resources
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before listing contents of resources folder, you need to add a command for waiting for 3 seconds:

12. Wait for 3 seconds

@thebaraah
Copy link
Author

thebaraah commented Jan 18, 2026 via email

@github-actions
Copy link

📝 HackYourFuture auto grade

Assignment Score: 85 / 100 ✅

Status: ✅ Passed
Minimum score to pass: 50
🧪 The auto grade is experimental and still being improved

Test Details
======================= Task 1 =======================
▶️ Running setup.sh...
✅ Successfully executed setup.sh.
✅ Script ran for at least 6 seconds
✅ Path exists: project
✅ Path exists: project/README.md
✅ Path exists: project/settings.conf
✅ Path exists: project/resources
✅ Path exists: project/resources/icon.png
✅ Path exists: project/resources/logo.png
✅ Path exists: project/src
✅ Path exists: project/src/program.js
✅ Path exists: project/src/database
✅ Path exists: project/.git
✅ Path does not exist: project/resources/family picture.jpg
✅ Path does not exist: project/src/profile
✅ Path does not exist: project/src/program.java
✅ File content is correct: project/src/program.js
✅ File content is correct: project/README.md
✅ Output has: "Creating project"
✅ Output has: "Setup project"
✅ Output has: "Setup JavaScript"
✅ Output has: "JavaScript works!"
✅ Output has: "icon.png"
✅ Output has: "All done!"
✅ Found 3 commits
✅ First commit message is "initial commit"

======================= Task 2 =======================
Your GitHub username: thebaraah
▶️ Downloading profile README from: https://raw.githubusercontent.com/thebaraah/thebaraah/main/README.md
✅ Profile contains GitHub top languages widget
✅ Profile contains GitHub streaks widget
✅ Profile contains an animated title

======================= Summary =======================
- Task 1 Score: 100%
- Task 2 Score: 50%
Total Score: 85%
Min passing score: 50%

@thebaraah thebaraah changed the title thebaraah Baraah A. Jan 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants