JSFiddle - React, Tailwind, and code Playground
by eprouver
HTML
<p>
<button onclick="playing = false; speechSynthesis.pause(); ">Pause</button>
<button onclick="speechSynthesis.resume()">Resume</button>
</p>
<p><a href="https://en.wikipedia.org/wiki/List_of_landmark_court_decisions_in_the_United_States">List of landmark court decisions in the United States</a></p>
CSS
p{
padding: 1em;
}
button{
padding: 1em;
margin: 0 1em;
}
strong{
font-weight: bold;
}
JavaScript
var cases = {"Individual rights":{"name":"Individual rights","cases":[{"title":"Dred Scott v. Sandford","location":"60 U.S. 393 (1857)voided","text":"People of African descent that are slaves or were slaves and subsequently freed, along with their descendants, cannot be United States citizens. Consequently, they cannot sue in federal court. Also, slavery cannot be outlawed in the western territories before they access statehood. After the Civil War, this decision was by the Thirteenth and Fourteenth Amendments to the Constitution.","subgroup":"Discrimination based on race and ethnicity"},{"title":"Civil Rights Cases","location":"109 U.S. 3 (1883)","text":"Neither the Thirteenth nor the Fourteenth Amendment empower Congress to safeguard blacks against the actions of private individuals.","subgroup":"Discrimination based on race and ethnicity"},{"title":"Plessy v. Ferguson","location":"163 U.S. 537 (1896)Overruled","text":"Segregated facilities for blacks and whites are constitutional under the doctrine of separate but equal, which holds for close to 60 years. ( by Brown v. Board of Education (1954))","subgroup":"Discrimination based on race and ethnicity"},{"title":"Smith v. Allwright","location":"321 U.S. 649 (1944)","text":"Primary elections must be open to voters of all races.","subgroup":"Discrimination based on race and ethnicity"},{"title":"Korematsu v. United States","location":"323 U.S. 214 (1944)","text":"President Franklin D. Roosevelt's Executive Order 9066 is constitutional; therefore, American citizens of Japanese descent can be interned and deprived of their basic constitutional rights. This case featured the first application of strict scrutiny to racial discrimination by the government.","subgroup":"Discrimination based on race and ethnicity"},{"title":"Morgan v. Virginia","location":"328 U.S. 373 (1946)","text":"A Virginia law that enforces segregation on interstate buses is unconstitutional.","subgroup":"Discrimination based on race and...