mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): removed whitespace from 'Generate OTP'. (#61823)
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ In this lab, you will generate a 6-digit OTP (One-Time Password) and display it
|
||||
3. The `div` having the class `container` should include the following elements:
|
||||
|
||||
- An `h1` element with the ID `otp-title` and text `"OTP Generator"`.
|
||||
- An `h2` element with the ID `otp-display` that either displays the message `"Click 'Generate OTP' to get a code"` or shows the generated OTP if one is available.
|
||||
- An `h2` element with the ID `otp-display` that either displays the message `"Click 'Generate OTP' to get a code"` or shows the generated OTP if one is available.
|
||||
- A `p` element with the ID `otp-timer` that:
|
||||
- Starts off empty.
|
||||
- Displays `"Expires in: X seconds"` after the button is clicked, where `X` represents the remaining time before the OTP expires.
|
||||
|
||||
Reference in New Issue
Block a user