Difficulty: Easy
Correct Answer: They present static information using HTML, CSS, and JavaScript files.
Explanation:
Introduction / Context:Many websites are purely static. They deliver pre-built files—HTML, CSS, JavaScript, and media—without querying a database or running server-side code to generate content.
Given Data / Assumptions:
Concept / Approach:Static site architectures simplify hosting and improve performance. Content can be authored manually or built by static site generators and then served from CDNs. Interactivity still exists via client-side JavaScript, but data persistence is not provided by a server database.
Step-by-Step Solution:
Identify lack of server-side persistence.Confirm that pages are served as static assets.Select the option describing static HTML/JS content.Verification / Alternative check:Inspect response headers and file types (for example, .html, .css, .js) and absence of dynamic endpoints.
Why Other Options Are Wrong:
Common Pitfalls:Assuming “static” means non-interactive; client-side scripts can still offer rich UX without server databases.
Final Answer:They present static information using HTML, CSS, and JavaScript files.
Discussion & Comments