The wasAsked journal
Community articles on development, interview preparation and career experience.
Write an article

A modal dialog needs a clear purpose, an understandable close action and a usable focus path. The native dialog element provides useful browser behavior, but adding the tag alone does not make every design accessible. Test the complete interaction in the browsers you intend to support.
By Ravindra Wadile

Use a link to navigate to a resource and a button to perform an action. Both can look similar after styling, but their native behavior is different. HTML interview questions about clickable elements are often really questions about meaning, keyboard use and predictable browser behavior.
By Ravindra Wadile

Useful HTML image answers cover the image's purpose, its space in the layout and how the browser chooses when and what to load. An image can have correct alternative text and still move the page around if its expected space is missing. Loading every image lazily can also delay the page's most…
By Ravindra Wadile

An HTML form needs meaningful labels, correctly named controls and a clear submission action. Native validation can catch some input mistakes in the browser, but it cannot enforce the server's security rules. Interview answers should separate user help from trustworthy backend validation.
By Ravindra Wadile

Semantic HTML describes what a part of a page means, not just how it looks. A heading identifies a section, navigation groups useful links, and the main element marks the page's main content. In an interview, explain the purpose of an element before discussing its appearance.
By Ravindra Wadile

When asked about changing your mind, show the evidence that changed the decision. The useful story is not simply that you agreed with someone. It is that you evaluated a new observation or argument and revised your approach for a clear reason.
By Ravindra Wadile

An answer about independent work should show ownership with clear checkpoints and decision limits. Independence does not mean never asking a question. It means moving work forward responsibly without needing someone to direct every step.
By Ravindra Wadile

When asked about career goals, describe the work and capability you want to develop. A job title can be part of that direction, but it does not explain what you want to contribute or why this role is relevant.
By Ravindra Wadile

For a question about a time you handled competing priorities, use a real past decision and explain the trade-off. This is different from a hypothetical prioritization case. The interviewer is asking what you actually did, including how you communicated and what happened.
By Ravindra Wadile

When asked about learning something new, explain the gap, the learning action and how you checked your understanding. Naming a course or tool is only the start. The interviewer needs to see how you turned unfamiliar material into a useful capability.
By Ravindra Wadile

An integration test should state which application boundary it exercises. WebApplicationFactory can run an ASP.NET Core application in a test host and provide an HTTP client. It does not automatically prove that a production database, identity provider or reverse proxy works.
By Ravindra Wadile

Expected invalid input and unexpected server failure need different responses. A client can correct an empty title. It cannot correct a server exception by guessing from a stack trace. Problem Details gives APIs a standard shape for describing errors.
By Ravindra Wadile

Typed options group related configuration and make its validation explicit. They do not make an invalid setting valid, secure a secret or guarantee that every configuration source reloads at runtime.
By Ravindra Wadile

A dependency-injection lifetime tells the container how long to reuse an instance. Transient means a new resolution normally gets a new instance. Scoped means reuse within one scope. Singleton means reuse from the same container for its lifetime.
By Ravindra Wadile

ASP.NET Core middleware runs as an ordered pipeline. Code before next runs on the way toward an endpoint. Code after an awaited next runs as control returns. A component can also stop the pipeline by not calling next.
By Ravindra Wadile

A good handover lets the next person understand the current state, the remaining work and the boundaries of their authority. Interview questions about handovers test whether you can make work continue without relying on an unwritten conversation.
By Ravindra Wadile

In a small business-case interview, clarify the decision, work through the provided numbers and state what the case cannot establish. A reasonable conditional answer is better than an unsupported claim of certainty.
By Ravindra Wadile

A stronger interview answer replaces broad claims with a specific situation, personal action and supported outcome. You do not need more dramatic language. You need enough detail for the listener to understand what you actually did.
By Ravindra Wadile

When asked to prioritize competing requests, first compare consequences, deadlines and dependencies. Do not simply choose the loudest requester or promise to do everything immediately. Explain the decision and communicate what will wait.
By Ravindra Wadile

In a data-reading interview exercise, explain what the numbers support and what they leave unknown. Check the units, denominator and comparison before making a recommendation. A confident statement is not useful if it answers a different question from the one the data can address.
By Ravindra Wadile
More articles