Exercise 1
✓ Published2🌍 Public
This example renders a stylized flag of the United States using raw SVG elements. The graphic is composed of a dark blue rectangle for the canton and a series of red horizontal stripes, with a single white polygon representing a star. The code directly constructs the SVG markup in the HTML file, specifying each shape's coordinates and fill style. It relies on the browser's native SVG rendering through the `rect` and `polygon` elements, without any external JavaScript libraries or dynamic data. The design is static and purely declarative.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed