Skip to content

Conversation

@mattieweathersby
Copy link
Contributor

@mattieweathersby mattieweathersby commented Aug 14, 2025

Before this lesson, I've never coded a lick of code outside of HTML and CSS. So this lesson was very interesting to do. The part that was the most tedious was honestly the preparation like you discussed in lecture. I took time to figure out everything that I was typing because I wanted to understand the logic behind what I was doing.

I learned:
What a prime number is that was the first order of business, I thought it was talking dividing it evenly but that wasn't it.

A function isn't necessarily a pre generated thing, it can be anything you want to call it. A function is like a recipe card that allows you to use it again and again.

A boolean is a value of either true or false

Copy link
Contributor

@anthonydmays anthonydmays left a comment

Choose a reason for hiding this comment

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

🎓 Automated Grading Report

Student: Mattie Weathersby
Date: 8/16/2025

Feedback

The submission includes implementations of the isPrime function in both TypeScript and JavaScript, fulfilling the requirement for two different languages. However, there are issues in the JavaScript implementation where the loop condition is incorrect (for (let i = 2; num; i++) should be for (let i = 2; i < num; i++)). The explanation provided is not entirely accurate as it describes checking for even numbers rather than prime numbers, and it lacks a clear comparison of the logic between the two implementations. The README.md file is correctly named and placed, meeting the technical requirements. No unit tests were provided, so the stretch criteria were not attempted. Improvements can be made by correcting the JavaScript implementation, refining the explanation to accurately describe the prime-checking logic, and adding unit tests for stretch goals.


This is an automated preliminary review. Please review and adjust before finalizing.

@anthonydmays anthonydmays merged commit 207be2d into code-differently:main Aug 20, 2025
@anthonydmays
Copy link
Contributor

To be clear, your implementations don't solve for determining if a number is prime or not. Please make sure to follow the assignment instructions more carefully.

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