Skip to content

Conversation

@noneeeed
Copy link

No description provided.

@github-actions
Copy link

📝 HackYourFuture auto grade

Assignment Score: 58 / 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 does not exist: 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 does not match: project/src/program.js
Expected: "console.log('JavaScript works!');"
Found:    "console.log("JavaScript Works!");"
❌ Error reading file: project/README.md
✅ Output has: "Creating project"
❌ Output does not have: "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: <noneeeed>
▶️ Downloading profile README from: https://raw.githubusercontent.com/<noneeeed>/<noneeeed>/main/README.md
❌ Failed to download profile README: HTTP 404: Not Found
❌ Profile does not contain GitHub top languages widget
❌ Profile does not contain GitHub streaks widget
❌ Profile does not contain an animated title

======================= Summary =======================
- Task 1 Score: 83%
- Task 2 Score: 0%
Total Score: 58%
Min passing score: 50%

@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 Mohamad, great job on your first assignment.

There are minor improvements needed for the first task. I’ve added comments with suggestions; please let me know if anything is unclear.

For the second task, it looks like there is an issue with Top Languages Card on your GitHub profile.

Overall, you did a good job. Best of luck on your journey at Hack Your Future.

@@ -1 +1,34 @@
# Write your code here
echo "Creating project…"
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.

@@ -1 +1,34 @@
# Write your code here
echo "Creating project…"
mkdir project;
Copy link

Choose a reason for hiding this comment

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

In shell scripting, using semicolons ath the end of a line is not necessary, but it is possible to use them of course.

git commit -m "initial commit"
sleep 3
echo "Setup projet..."
echo "Welcome to my project" >README.md
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 still in src directory. So README.md file will be created in src, but it needs to be in the root (project) directory.

cd ../resources
rm "family picture.jpg"
git add -A
git commit -m "second commit" -m "removed family picture Woopsie😁 and my personal profile"
Copy link

Choose a reason for hiding this comment

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

Nice job on a descriptive commit message. But a signle message needs to be created. You can remove the first one.

echo 'console.log("JavaScript Works!");' >program.js
node program.js
git add -A
git commit -m "third commit" -m "java script works now/ renamed program and added 1 line of code"
Copy link

Choose a reason for hiding this comment

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

Nice job on a descriptive commit message. But a signle message needs to be created. You can remove the first one.

sleep 3
echo "Setup projet..."
echo "Welcome to my project" >README.md
cd src
Copy link

Choose a reason for hiding this comment

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

As you are already in src directory, this command will throw an error:

line 17: cd: src: No such file or directory

mkdir database profile
touch program.java
git add -A
git commit -m "initial commit"
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 still in src directory. It's usually a good practice to change directory into the root before running git commands.

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