Guide-linked quiz · Easy Level

How to Build a Simple Website with AI Quiz

Check what you know about planning site content with AI, publishing on static hosts, and basic accessibility checks like alt text and color contrast.

Question 1 of 8

What should you give the AI before asking it to write any website code?

Preview every question8 questions

Answers and explanations appear as you take the quiz.

  1. What should you give the AI before asking it to write any website code?
    • Your hosting account password
    • Who the site is for, what visitors should do, and accurate business facts
    • A list of competitor sites to copy word for word
    • Nothing, because the AI will research your business itself
  2. What should you do with testimonials the AI invents for your site?
    • Never publish them
    • Publish them if they sound realistic
    • Keep them but label them as examples
    • Move them to the footer
  3. Which of these is a free static host mentioned in the guide?
    • A domain registrar
    • A DNS record
    • WCAG
    • GitHub Pages
  4. What does a contact form on a static page need in order to receive messages?
    • Nothing, it works automatically
    • Only an HTTPS certificate
    • A form service or a host feature that handles submissions
    • A VBA macro
  5. What alt text should a purely decorative image have?
    • The image's file name
    • An empty alt attribute, alt=""
    • The word "image"
    • No alt attribute at all
  6. What minimum contrast ratio does WCAG 2.1 level AA ask for normal body text?
    • 3:1
    • 2:1
    • 4.5:1
    • 7:1
  7. What does the viewport meta tag do?
    • Makes phones render the page at the correct width
    • Speeds up the web server
    • Adds an HTTPS certificate
    • Directly raises your search ranking
  8. Why should you never put API keys or passwords in front-end code?
    • They slow the page down
    • Hosts reject pages containing them
    • They break mobile layouts
    • Anyone can view the page source

Keep testing yourself

More quizzes picked for your level.

View all quizzes