Learn Intermediate OOP by Building a Platformer Game - Step 72

Tell us what’s happening:

const platformPositions = [
{
x: 500,
y: proportionalSize(450),
},

];

code not passing I don’t see any mistake

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region


const platformPositions = [
  {
    x: 500,
    y: proportionalSize(450),
  },

];


// User Editable Region
code not passing I don't see any mistake 

### Your browser information:

User Agent is: <code>Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36</code>

### Challenge Information:
Learn Intermediate OOP by Building a Platformer Game - Step 72
https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures-v8/learn-intermediate-oop-by-building-a-platformer-game/step-72

Hi there,

There are two extra commas (,) in your code.

Delete those and your code will pass.

2 Likes