fix: add missing colons to User Stories headers (#67328)

This commit is contained in:
Paper Code
2026-05-12 01:16:01 +05:30
committed by GitHub
parent 2a61da4942
commit 5cff524db6
5 changed files with 5 additions and 5 deletions
@@ -13,7 +13,7 @@ For example, for an array like `[1, 1, 1, 2, 1, 1, 1]` and a test function `func
**Objective**: Fulfill the user stories below and get all the tests to pass to complete the lab. **Objective**: Fulfill the user stories below and get all the tests to pass to complete the lab.
**User Stories** **User Stories:**
1. You should have a `dropElements` function that accepts an array (`arr`) and a function (`func`) as arguments. 1. You should have a `dropElements` function that accepts an array (`arr`) and a function (`func`) as arguments.
1. The `dropElements` function should iterate through the array and remove elements starting from the first one until `func` returns `true` for an element. 1. The `dropElements` function should iterate through the array and remove elements starting from the first one until `func` returns `true` for an element.
@@ -11,7 +11,7 @@ In this lab, you will implement additional operations for a linked list data str
**Objective**: Fulfill the user stories below and get all the tests to pass to complete the lab. **Objective**: Fulfill the user stories below and get all the tests to pass to complete the lab.
**User Stories** **User Stories:**
1. You should have a `contains` function that accepts a linked list and an element. It should return `true` if the specified element exists in the linked list, and `false` otherwise. 1. You should have a `contains` function that accepts a linked list and an element. It should return `true` if the specified element exists in the linked list, and `false` otherwise.
1. You should have a `getAt` function that accepts a linked list and an index. It should return the element at the given index in the linked list. If the index is out of bounds, it should return `undefined`. 1. You should have a `getAt` function that accepts a linked list and an index. It should return the element at the given index in the linked list. If the index is out of bounds, it should return `undefined`.
@@ -11,7 +11,7 @@ In this lab you will build an odd Fibonacci sum calculator that computes the sum
**Objective**: Fulfill the user stories below and get all the tests to pass to complete the lab. **Objective**: Fulfill the user stories below and get all the tests to pass to complete the lab.
**User Stories** **User Stories:**
1. You should have a `sumFibs` function that accepts a number as an argument. 1. You should have a `sumFibs` function that accepts a number as an argument.
1. The `sumFibs` function should return the sum of all odd Fibonacci numbers that are less than or equal to the given number. 1. The `sumFibs` function should return the sum of all odd Fibonacci numbers that are less than or equal to the given number.
@@ -10,7 +10,7 @@ demoType: onClick
**Objective:** Fulfill the user stories below and get all the tests to pass to complete the lab. **Objective:** Fulfill the user stories below and get all the tests to pass to complete the lab.
**User Stories** **User Stories:**
1. Your page should have an `h1` element with the text `Pricing Plans`. 1. Your page should have an `h1` element with the text `Pricing Plans`.
2. Your page should have a `div` element with the class `pricing-container` below the `h1` element. 2. Your page should have a `div` element with the class `pricing-container` below the `h1` element.
@@ -11,7 +11,7 @@ In this lab, you will create a function that takes an array of two numbers and r
**Objective**: Fulfill the user stories below and get all the tests to pass to complete the lab. **Objective**: Fulfill the user stories below and get all the tests to pass to complete the lab.
**User Stories** **User Stories:**
1. You should have a `smallestCommons` function that accepts an array of two numbers as an argument. 1. You should have a `smallestCommons` function that accepts an array of two numbers as an argument.
1. The `smallestCommons` function should return the smallest common multiple that is evenly divisible by both numbers and all sequential numbers in the range between them. 1. The `smallestCommons` function should return the smallest common multiple that is evenly divisible by both numbers and all sequential numbers in the range between them.