FAQ: Introduction to A-Frame - Review

This community-built FAQ covers the “Review” exercise from the lesson “Introduction to A-Frame”.

Paths and Courses
This exercise can be found in the following Codecademy content:

Learn A-Frame

FAQs on the exercise Review

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!
You can also find further discussion and get answers to your questions over in #get-help.

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head to #get-help and #community:tips-and-resources. If you are wanting feedback or inspiration for a project, check out #project.

Looking for motivation to keep learning? Join our wider discussions in #community

Learn more about how to use this guide.

Found a bug? Report it online, or post in #community:Codecademy-Bug-Reporting

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

i am trying the lego piece challenge but i am unable to make it as it shown, i didn’t able to set the angles properly… please anybody help me with that!!!

      <a-box 
        color="red" 
        position="0 2 -5"
        rotation="20 45 20" 
        scale="2 1 2"></a-box>

here is the code i am using…

1 Like

having the same issue here, i’m trying to move the cylinder to fit the box

. I used this code and it appears similar like the lego piece.

I’m having the same problem. It is supposed to be on the box, but my cylinder is far behind it!

@beta1029425651 @laurentmisso26936928 @hrithikarya
Here’s the code:

<html>
  <head>
    <script src="https://aframe.io/releases/1.0.4/aframe.min.js"></script>
  </head>
  <body>
    <a-scene background="color:#222222">
      <a-box 
       color="red" 
       position="0 2 -5"
       rotation="0 45 45"
       scale="2 1 2">
        <a-cylinder position=".25 0 .25" scale=".15 1.2 .15"></a-cylinder>
        <a-cylinder position="-.25 0 -.25" scale=".15 1.2 .15"></a-cylinder>
        <a-cylinder position="-.25 0 .25" scale=".15 1.2 .15"></a-cylinder>
        <a-cylinder position=".25 0 -.25" scale=".15 1.2 .15"></a-cylinder>
      </a-box>
    </a-scene>
  </body>
</html>

There’s a supermedium discord server where a guy share this code with me. I highly recommend you joining in. He is using child-figures (something familiar to all of you because of knowing HTML) and same happens with a-frame.

If any of you guys have SO I recommend you posting it there, for future people having the same issue just googling for getting the solution. I still don’t have but I should sign up. Next time I will do it.

Happy coding and have a great day.

Edit: There’s also an Slack server and all this information you can find them on the documentation.
Here for example the section about HTML & Primitives: https://aframe.io/docs/1.0.0/introduction/html-and-primitives.html.

1 Like