Started from the Top explainer


#21

I have the same code as you do but the app doesn’t accept it. I posted a screenshot of my code below


#22

Take a look at the .append('circle'). Notice that there is an .attr() attached to the 'circle' string. When you chain calls, .append().attr().attr().attr(), make sure that each one is attached to the closing parenthesis of the previous one. To do that, highlight the entire .append('circle') when adding the next .attr(). If only the 'circle' is highlighted, it will try to add the .attr() to the 'circle' string.

–Frankie


#23

This was very helpful. Thank you!


#24

Write this it will work surely 100%–> var balloon=svg.append(‘circle’).attr(‘fill’, ‘red’).attr(‘r’, 35’).attr(‘cy’, 35).attr(pickRandom(position));