Goal: Build resilient asynchronous flows with HTTP requests, loading states, validation, and error handling.
| Metric | Value |
|---|---|
| Readiness | 80% |
| Files | 5 |
| Source files | 3 |
| Test files | 0 |
| Text lines | 337 |
Week4AdvAsynchronousJavaScript/Day3HTTPAndFormMethodGETAndPOST/Exercises/RandomQuoteGenerator/index.htmlWeek4AdvAsynchronousJavaScript/Day3HTTPAndFormMethodGETAndPOST/Exercises/RandomQuoteGenerator/js/app.js
python -m http.server 8000
node Week4AdvAsynchronousJavaScript/Day3HTTPAndFormMethodGETAndPOST/Exercises/RandomQuoteGenerator/js/app.js- ✅ README documentation is generated and repeatable.
- ✅ Contains 3 source file(s) across practical exercises or projects.
- ✅ No Python syntax error was detected in this folder tree.
- ✅ A likely runnable entry point was detected.
⚠️ No local unit test is present yet; repository-wide syntax checks still cover the sources.
python tools/nova_quality_gate.py --repo . --strict
python -m unittest discover -s tests/python -p "test_*.py" -v
node tools/run_node_tests.mjs .The readiness value is a transparent repository heuristic, not a course grade and not proof that every interactive or external-API exercise was executed.
Managed by NOVA Ultimate v2.0.0 · 2026-07-15T06:22:49+03:00
Learn and practice:
- Conditionals and the ternary operator
- Loops and array methods
- Arrow functions
- Objects, DOM manipulation, and events
A small app that:
- Generates a random quote (never the same twice in a row)
- Lets you add new quotes (automatic
id, starts at 0) - Likes the current quote
- Shows character and word counts for the current quote
- Filters quotes by author with Previous/Next navigation
random-quote-generator/
├─ index.html
├─ css/
│ └─ styles.css
└─ js/
└─ app.js
Open index.html in your browser.
- 🔁 Generate Quote: shows a random quote (not the same as the immediately previous one).
- 👍 Like: increments the like count for the shown quote.
- 🔡 Chars (with spaces / no spaces) and 🧮 Word count: display metrics for the current quote.
- ➕ Add a quote: submit text and author to append to the list (id auto-increments).
- 🔎 Filter by author: type a name (case-insensitive contains), then use ⏮️/⏭️ to navigate results. Clear resets the view.
- Emojis are used for clarity; no hearts.
- IDs are assigned as
maxId + 1for robustness. - Random selection ignores any active filter; filtered results are navigated with Previous/Next.
- All logic uses plain JavaScript and DOM APIs.