America Cops • Emergency Phone Numbers

HTML • CSS • JS Emergency Panel

A simple learning page that shows how to model U.S. emergency phone numbers and police‑related calls with HTML, CSS, and JavaScript.

Concept & Numbers
Police & Emergencies

In the United States, 911 is the main emergency number for police, fire, and medical help. Non‑emergency lines are used for situations that are important but not life‑threatening.

Police Calls
Emergencies
Safety Info
  • 911 — life‑threatening emergencies: serious injury, crime in progress, fire, or immediate danger.
  • Non‑emergency police numbers — noise complaints, past‑tense reports, or questions for local departments.
  • Poison control and other hotlines — special help for specific emergencies.
  • Always follow local guidance and teach children to use these numbers responsibly.

Example U.S. Numbers (for learning)

Code & Practice
JS Data

JavaScript can store emergency numbers as data and choose which number to show based on the situation.

const emergencyNumbers = [ { name: "Emergency (Police / Fire / Medical)", phone: "911", type: "emergency" }, { name: "Non‑Emergency Police (example city)", phone: "(555) 123‑4567", type: "police" }, { name: "Poison Control", phone: "1‑800‑222‑1222", type: "medical" } ]; function chooseNumber(reason) { if (reason === "life‑threatening") return emergencyNumbers[0]; if (reason === "noise" || reason === "report") return emergencyNumbers[1]; return emergencyNumbers[2]; } console.log(chooseNumber("noise"));

This is a learning example only. Always follow real local instructions and official guidance in real life.

Scenario Ideas