Hello forum,

I have started QML with Qt 5.2.1 and stumbled upon the following code snippet found in the documentation:

Qt Code:
  1. import QtQuick 2.0
  2.  
  3. Rectangle {
  4. color: "#00B000"
  5. width: 80; height: 80
  6. }
  7.  
  8. Rectangle {
  9. color: "steelblue"
  10. y: 100; width: 80; height: 80
  11. }
To copy to clipboard, switch view to plain text mode 

I am getting error with second rectangle as syntax error.

Is there anything wrong in the hierarchy ? I did not make any changes.

Thanks