HELP! I Can't Figure this out! :-(

I can’t figure this out and any help is appreciated!

what’s your code? what have you tried?

Hello! I have tried everything in my knowledge but have not succeeded! :sob: I also have a little trouble understanding the “let” and “array” stuff. I’m still a noob at this. :cry:

If words like let and array are confusing for you, I’d recommend to go through the section “Basic JavaScript” first:

Curriculum: Basic JavaScript

I have tried some of that but with great difficulty. :frowning_face:

can you give some examples of what have you tried?

Hi there!
could you be more specific about your trouble.with let and the arrays?

Hi @pizzaguy0107 !

We will be able to help you more effectively if you show us your code.
That way we can look at way you have tried and steer you in the right direction.

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

1 Like
let yourArray = ["a", 2, true, "c", null,  name: "john" ];

Hey guys! Sorry I took so long to respond. This is what I got but it does not work!! Do you see anything wrong with it??

The problem is here.

You need to place this key value pair inside {} because it is an object

1 Like

Oh my goodness!!! How could I not catch that! Thank you so much!!! I have tried so hard and long to get this!! Thank you!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.