130 challenges from Easy to Hard. Inspect a live DOM snippet, write an XPath, and watch it validate and highlight in real time — every answer comes with an explanation and the concept you practiced.
🎯 Select the Username input field using its id attribute.
<form class="login">
<label for="username">Username</label>
<input type="text" id="username" name="user" placeholder="Username">
<label for="password">Password</label>
<input type="password" id="password" name="pass" placeholder="Password">
<button type="submit" class="btn primary">Sign in</button>
</form>