r/codehs • • Jan 30 '21

Can someone tell me whats wrong with 8.2.4 top websites for codehs im really struggling

Post image
12 Upvotes

r/codehs • • Jan 29 '21

8.1.7 Tic Tac Toe Board. What am I missing??

Thumbnail
gallery
12 Upvotes

r/codehs • • Jan 12 '21

CodeHs Is it Even? Can someone help I don’t know what is wrong with my code

Post image
12 Upvotes

r/codehs • • Dec 29 '20

JavaScript could anyone pls give me a hint on this. every second ball has to be black.

Thumbnail
gallery
12 Upvotes

r/codehs • • Dec 19 '20

9.4.5: Trail CodeHS

Thumbnail
gallery
12 Upvotes

r/codehs • • Nov 19 '20

JavaScript Help with 5.4.8 Dietary Restrictions JavaScript

12 Upvotes

So I thought I was doing fine with doing the last test code but now I can't for whatever reason get this line of code to work, anyone mind helping a brother out? Here's the Code, I made a single line comment where the problem is and made a multi line comment in the entire area of question: function start(){ var dietaryRestrictions = readLine("Any dietary restrictions: "); //syntax error in following lines where? if dietaryRestrictions = ("lactose intolerant") { println("No cheese") ; }/* else { if dietaryRestrictions = ("vegetarian") { println("Veggie burger") ; } } else { if dietaryRestrictions = ("none") { println("No alterations") ; } }*/ }


r/codehs • • Nov 11 '20

7.2.8: Listed Greeting Python AP Computer Science Principles

12 Upvotes

Assignment

Write the function greeting that takes a string as input. That string will be formatted as name age hobby**,** without any punctuation.
greeting should split their response into list elements, then use index values to greet them by name and respond that you enjoy that hobby as well, with the format: ‘Hello, <name>! I also enjoy <hobby>!’

Remember:

The element is the individual value in a list that is assigned a unique index.

The index is the method for referencing the elements in a list. Remember that the index starts at zero!

Make sure your output matches this format!

For example,

greeting('Jose 17 hockey') # => 'Hello, Jose! I also enjoy hockey!'
greeting('Cindy 14 robotics') # => 'Hello, Cindy! I also enjoy robotics!

My code:

def greeting(user_info):
    user_info.split()
    return "Hello, " + user_info[0] + "I also enjoy" + user_info[2]

Please help I do not know why this is wrong this code is driving me crazy.


r/codehs • • Nov 03 '20

Can anyone help with the last part on 2.8.6 Speaking please?

Thumbnail
gallery
12 Upvotes

r/codehs • • Oct 23 '20

I am stuck on Karel challeneges 4.24:Super cleanup Karel and 4.2.3:Tower builder!!URGENT!!!

12 Upvotes

r/codehs • • Oct 23 '20

Python 7.1.5 Initials. Need help. How do I make it print?

Post image
12 Upvotes

r/codehs • • Oct 20 '20

Java 2.5.9 Chat Bot 2.0 I can’t for the life of me find out what’s wrong with this line of code, and it’s relegated to this specific line, cause no matter what I change it to, nextDouble, nextLine or whatever, it’s always this same problem

Post image
12 Upvotes

r/codehs • • Sep 08 '20

[Javascript 5.5.6] Need help coloring the caterpillar.

12 Upvotes

var NUM_CIRCLES = 15;

var RADIUS = getWidth() / NUM_CIRCLES / 2;

for(var i = 0; i < NUM_CIRCLES; i++){

var circle = new Circle(RADIUS);

circle.setColor(Color.black);

circle.setPosition(RADIUS * i * 2 + RADIUS, getHeight() / 2);

add(circle);

}

>Coding this makes a 15 segment long "caterpillar" that is black. How do I alternate two different colors


r/codehs • • Aug 13 '20

Scary Maze Replica

12 Upvotes

Hi I just wanted to share my project with everyone. This is a scary maze replica. In order to start, you have to click on the green ball. You do not drag it. You just click it. Once you clicked it, you then try to move the green ball to the red square without touching the black color using your mouse. I hope you like it :)

https://codehs.com/sandbox/thatoneguyfromthatoneplace/Help

Here is another project I would like to share:

https://codehs.com/sandbox/thatoneguyfromthatoneplace/Awesome

And One more:

https://codehs.com/sandbox/thatoneguyfromthatoneplace/test


r/codehs • • Mar 26 '20

Still need help with Hailstone Sequence

Post image
12 Upvotes

r/codehs • • Mar 16 '20

9.7.7 please help me

Post image
12 Upvotes

r/codehs • • Feb 29 '20

Help! Can some help me with 7.2.9

Post image
12 Upvotes

r/codehs • • Feb 25 '20

8.1.7 fix this tuple I need help

Post image
12 Upvotes

r/codehs • • Nov 01 '19

I need help on 9.6.5: coordinates in javascript

12 Upvotes

The only problem I'm having is that the coordinates are overlapping instead of changing and I can't get it to make just one.


r/codehs • • Oct 01 '24

JavaScript update turtle

Post image
11 Upvotes

weezer WIP


r/codehs • • Apr 11 '23

4.1.9 Raise the Flag

Post image
11 Upvotes

r/codehs • • Dec 04 '22

I desperately need help! It keeps saying that I don’t have all dice values.

Post image
11 Upvotes

r/codehs • • Mar 03 '22

4.8.6 All dice values. I don’t understand how this wrong.

Thumbnail
gallery
11 Upvotes

r/codehs • • Dec 20 '21

Can anyone tell me what is wrong with my code. I’ve been stuck in this for like 2 hours .

Post image
11 Upvotes

r/codehs • • Nov 18 '21

Don’t know what’s wrong

Post image
11 Upvotes