The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Challenge: Learn Intermediate CSS by Building a Picasso Painting - Step 59
Hi.
In your editor, press Ctrl-A (select all), then Ctrl-C (copy).
Then reply to this message and in the input box, start by typing
```
at the start of the line
then press Enter, then press Ctrl-V
then press Enter again, then type those same 3 characters
```
These characters are usually on the key at the top left corner of your keyboard (depending on the layout, of course).
If you cannot find the key, just select the 3 that I typed and copy them … then paste them at the start of the line in your reply.
That way we can see your coding.
The error message seems to indicate that your coding is very long.
If you have extensive comments, then you can perhaps save your code in a (new) text file and then delete all the comments and send the shortened version to us.
Also, please state what your problem is with the task (step 59). Is there something that is not working, or something you cannot understand?
I'm having a problem with step 59, it's asking for 30 div elements and give each of them the class triangle. I did what was requested but the code did not pass. Please advise
Please, as @ elswise stated, could you post your code for others to see it and evaluate the problem?
If you have not succeeded three times in a row on the challenge, the ?Help should appear below where you check your solution.
You could use the < / > preformatted to submit your code and question.
I hope this helps you submit the code.
Happy coding!
Step 59 asks to create 30 div elements and give them each a class of triangle
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div>
<div class="triangle"></div> ```
WARNING
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
```text
Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Challenge: Learn Intermediate CSS by Building a Picasso Painting - Step 59
It does appear you have 30 divs with the class triangle in your HTML above. I’m guessing you might have accidentally changed something else that is causing the tests to fail, but I can’t help you find it since you didn’t paste all of your HTML in here. That’s why it is always a good idea to paste all of your code in here so we can help you find any mistakes.
I didn’t change anything. The challenge requested 30 div elements with the class triangle within the triangles div. I will provide the div element with the ID of triangle the 30 div elements are nested in for review.
I included the code that the challenge requested between the div element with the ID of triangles. It’s a lot of code to include, however I’ll include it all to resolve this and move forward.
I think you have 31 triangle divs in the HTML you just posted.
Also, why is the head missing? And what about the HTML after the 30 triangles? Making any changes other than what is asked for in the instructions can cause the tests to fail.
My advice, restart the step to get the original code back and then make sure the only thing you change is adding the 30 triangle divs inside the #triangles div.
Hello
I posted this on the other post. But, it looks like you have been given the information already. lol
I think I am counting 31 div in the posted code. I counted twice.
I just entered the code, minus one div, and it worked in my system.