Free, browser-based practice for CodePath's HackerRank placement assessments. Every page is a single static HTML file. There is no build step and no server: answers are checked in the student's browser and never sent anywhere.
Students reach these pages from the HackerRank tips sheet. There is intentionally no home page.
| Page | Course | What it practices | How it checks |
|---|---|---|---|
cyb101/ |
CYB101 | Three research puzzles | Passcode answers |
web101/ |
WEB101 | Planning an event website: six short questions plus a wireframe | Word count only (open-ended) |
ai110/ |
AI110 | Lists and loops, functions, and classes, adapted from the AI110 Bridge Module | Python code runs in the browser (Pyodide) plus answer checks |
cyb102/ |
CYB102 | Three bash command challenges plus a blue-team scenario | Command rules; scenario answers by word count |
web102/ |
WEB102 | The JavaScript logic behind the Sea Monster Crowdfunding website, using its game data | JavaScript code runs in the browser plus answer checks |
ai201/ |
AI201 | The candidate guide's coding and prompt-writing examples, built up step by step | Python code runs in the browser plus answer checks |
- The student answers and presses Check.
- A wrong answer shows a targeted message and the first hint.
- Hints are available at any time. After a hint, the student can reveal the answer with an explanation.
Answers are not hidden: this is practice, and the answer is available whenever a student asks for it.
assets/practice.cssholds the shared styles. Light and dark themes follow the student's system setting.assets/practice.jsholds the shared engine. Each page declares its questions inwindow.PRACTICEand places a<div data-item="id"></div>where each question should appear.web102/sea-monster-starter.zipholds the Sea Monster starter code (HTML, CSS, JavaScript, game data, and images) for the optional build steps on the WEB102 page. The files are an exact copy of CodePath's public Sea Monster starter code, without its README and .gitignore. The files sit at the top level of the zip, so unzipping it on Windows or a Mac gives onesea-monster-starterfolder.
Question types: text (optionally with a custom validate function), choice, python, javascript, writing, checklist. See any page's window.PRACTICE block for examples.
Python questions load Pyodide 0.27.7 from jsDelivr the first time a student clicks into a code box. JavaScript questions run in a fresh Web Worker. Both kinds of code have a 6-second limit, so an endless loop cannot freeze the page.
GitHub Pages serves the main branch from the repository root.