The statements in the starter code are in the wrong order. Move them so the program prints Abel’s school day in the right order, then add a fifth statement that prints the number of lessons today, calculated as 4 + …
Print this match report exactly: Keren FC 3 – 1 Massawa Stars Goals: 4 Yellow cards: 2 Corners: 9 Rules about the layout of your code: The first statement is long: write it as console.log(“Keren FC”, 3, “-“, 1, “Massawa …
Fill the Keren FC news page using the right tool for each job: #result: use innerHTML so that Keren FC is bold (inside <strong>), followed by won 3–2! #goals: show the total number of goals, calculated as 3 + 2 …
The page has three placeholders. In the <script> at the end of the body, use document.getElementById(…).textContent to fill them: #name → Asmara Café #tea → Tea: 15 Nakfa #total → the result of 3 * 15 (let JavaScript calculate it …
Selam buys 3 cups of tea at 15 Nakfa each and 2 pieces of bread at 10 Nakfa each. Print this receipt exactly: Asmara Café Tea: 45 Bread: 20 Total: 65 Rules: the numbers 45, 20 and 65 must be …
Write a program that prints exactly these three lines, in this order: Selam, I am learning JavaScript! My city is Asmara. 25 Print the first two lines as text. For the third line, let JavaScript calculate 5 * 5 (do …
Make an eye-catching ticket button. In :root define –accent: #e11d48; .ticket-btn: background-color: var(–accent), border-radius: 12px, any box-shadow, and transition: transform 0.2s ease. .ticket-btn:hover: transform: scale(1.05).
Turn the photos into a responsive grid. .gallery: display: grid, grid-template-columns: repeat(3, 1fr), gap: 12px. .wide: spans two columns with grid-column: span 2. Add a media query @media (max-width: 600px) in which .gallery has grid-template-columns: 1fr.
Lay out the bus ticket from Asmara to Keren. .ticket: position: relative. .tag: position: absolute, top: 10px, right: 10px. .route: a flex container with justify-content: space-between and align-items: center. .seat: hide it completely with display.
Style the chess club notice. .notice: box-sizing: border-box, padding: 20px, border: 3px solid #1d4ed8 and background-color: #eff6ff (keep width: 320px). .notice h2: colour #1d4ed8 and text-transform: uppercase. .when: font-style: italic. Make only the first list item bold, using the :first-child …
