• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

Selecting elements

Why can't I set "x1" to other values? Did I miss something? https://code.sololearn.com/WEwrgyrjOQS6/?ref=app

javascript
6th Oct 2017, 11:16 AM
Tom2003611
Tom2003611 - avatar
1 Answer
+ 1
Try g.setAttribute("x1", "200");
6th Oct 2017, 11:29 AM
CalviŐČ
CalviŐČ - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
How to start learning Python programming?
3 Votes
Where is the bug?
3 Votes
im beginner
2 Votes
Is code generated by chat GPT plagiarism?
1 Votes
How to fix this i feel something off
1 Votes
Pointers cpp
2 Votes
Is it possible to convert .zip file to apk? If yes, how??
1 Votes
How to add two strings together in ts or css
1 Votes
I think the heart system is ridiculous, 5 hearts that refill after like 5 hours? That is really just crazy to me.
1 Votes
Need Guidance: AI Tools for Creating an App Prototype & UI/UX Design
1 Votes