HTML preprocessors can make writing HTML more powerful or convenient. For instance, Markdown is designed to be easier to write and read for text documents and you could write a loop in Pug.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. So you don't have access to higher-up elements like the <html>
tag. If you want to add classes there that can affect the whole document, this is the place to do it.
In CodePen, whatever you write in the HTML editor is what goes within the <body>
tags in a basic HTML5 template. If you need things in the <head>
of the document, put that code here.
The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https.
CSS preprocessors help make authoring CSS easier. All of them offer things like variables and mixins to provide convenient abstractions.
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset. Or, choose Neither and nothing will be applied.
To get the best cross-browser support, it is a common practice to apply vendor prefixes to CSS properties and values that require them to work. For instance -webkit-
or -moz-
.
We offer two popular choices: Autoprefixer (which processes your CSS server-side) and -prefix-free (which applies prefixes via a script, client-side).
Any URL's added here will be added as <link>
s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.
You can apply CSS to your Pen from any stylesheet on the web. Just put a URL to it here and we'll apply it, in the order you have them, before the CSS in the Pen itself.
You can also link to another Pen here (use the .css
URL Extension) and we'll pull the CSS from that Pen and include it. If it's using a matching preprocessor, use the appropriate URL Extension and we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
JavaScript preprocessors can help make authoring JavaScript easier and more convenient.
Babel includes JSX processing.
Any URL's added here will be added as <script>
s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.
You can apply a script from anywhere on the web to your Pen. Just put a URL to it here and we'll add it, in the order you have them, before the JavaScript in the Pen itself.
If the script you link to has the file extension of a preprocessor, we'll attempt to process it before applying.
You can also link to another Pen here, and we'll pull the JavaScript from that Pen and include it. If it's using a matching preprocessor, we'll combine the code before preprocessing, so you can use the linked Pen as a true dependency.
Search for and use JavaScript packages from npm here. By selecting a package, an import
statement will be added to the top of the JavaScript editor for this package.
Using packages here is powered by Skypack, which makes packages from npm not only available on a CDN, but prepares them for native JavaScript ES6 import
usage.
All packages are different, so refer to their docs for how they work.
If you're using React / ReactDOM, make sure to turn on Babel for the JSX processing.
If active, Pens will autosave every 30 seconds after being saved once.
If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.
If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.
Visit your global Editor Settings.
<html>
<main class="wrapper" id="main">
<header id="header">
<div id="title">Christopher Hitchens</div>
<div id="img-div">
<img class="image" id="image" alt="picture of the hitch" src="http://www.ieturolenses.org/media/wysiwyg/WebsiteTuria/Lecturas/Lecturas16/Abril/hitchens500.jpg"><h1 id="img-caption">"I became a journalist partly so that I wouldn't ever have to rely on the press for my information"</h1>
</div>
</header>
<div class="list">
<div id="accomplishments">
<h2>Time Line</h2>
<ul class="list-items";>
<li>Christopher Hitchens was born on 13th April 1949 in Portsmouth, England to Eric and Yvonne Hitchens. His father was in the British Royal Navy because of which the whole family had to constantly move. </li>
<li>Against his father’s initial will, Hitchens’ mother sent him to Mount House4 School in Tavistock, Devon because his mother wanted him to get education in the upper middle class environment. </li>
<li>Other schools that Hitchens was educated in were Leys School in Cambridge and Balliol College in Oxford. At Oxford he did his major in philosophy, politics and economics. </li>
<li>In 1960, due to his rage over the Vietnam War and the usage of nuclear weapons, rising racism in the west and oligarchy, Hitchens joined politics. He became an active part of the political protests and countercultural movements. </li>
<li>In 1965, Hitchens joined the Labour Party and it was around this time that he formed an interest in Trotskyist and anti-Stalinist socialism through the translated work of Russian revolutionary called Victor Serge. </li>
<li>While still studying at Oxford, Hitchens worked as a correspondent for ‘International Socialism’ which was creatively controlled and published by a set of International Socialists. </li>
<li>In 1971, after graduating from Oxford, he worked as a social science correspondent at the Times Higher Education Supplement, but he was soon fired from there and joined ITV’s Weekend World as a researcher.</li>
<li>In 1973, he joined the New Statesman as a journalist and soon became famous for his aggressive left-winged political views. He met important literary people like Ian McEwan, Martin Amis, etc.</li>
<li>In 1981, while still at the New Statesman, Hitchens went to the Sates under an editor exchange program between his firm and The Nation. He worked there for some time and wrote critical views on American foreign policy, George H. W. Bush, etc.</li>
<li>In 1988, after breaking off the leftist political stance because of the death threats that his writer friend Salman Rushdie was receiving on publishing ‘The Satanic Verses’, Hitchens released his book ‘The Monarchy: A Critique of Britain’s Favorite Fetish’</li>
<li>In 1992, while still working officially at The Nation, Hitchens started contributing his work to the Vanity Fair and became a contributing Editor of the magazine. He left The Nation after working there for almost 19 years.</li>
<li>In the later 90s, Hitchens started writing and producing the best work of his career in the form of essays, books and journalistic articles. His usual point of discussion in his work was how some of the public figures were raised to the level of gods.</li>
<li>Around same time, he published ‘The Missionary Position: Mother Teresa in Theory and Practice’ in which he tainted the unblemished reputation of Mother Teresa claiming that she supported the dictators.</li>
<li>In 1999, he published the book ‘No One Left to Lie To: The Triangulations of William Jefferson Clinton’. It was a critique on the beloved figure of the west, Bill Clinton and his wrongdoings, which infuriated the left.</li>
<li>In 2000s, he got the citizenship of the U. S and became a media fellow at the Hovver Institution. He appeared on talk shows like ‘Frontiers’ and ‘Charlie Rose’ and presented his assertive opinions on politics.</li>
<li>In 2007, he came out with his work called ‘God Is Not Great: How Religion Poisons Everything’, in which he criticized the existence of all the religions in the modern society. The book established him as an atheist</li>
<li>In 2010, his book ‘Hitch-22’ was published, which was a memoir by him. He took a book tour for its publicity and made an announcement during the same that he had an esophageal cancer. He continued the tour.</li>
<li>In 2011, a collection of his sharp one-liners were published called the ‘The Quotable Hitchens: From Alcohol to Zionism’. Another book of his, a collection of critical and political essays, called ‘Arguably: Essays’ was published.</li>
</ul>
</div>
</div>
<div id="biography">
<h2>Biography</h2>
<p>Born on April 13, 1949, in Portsmouth, England, Christopher Hitchens wrote for a variety of English magazines before moving to the United States in 1981. Hitchens established himself as one of the leading intellectual writers of the late 20th and early 21st centuries, willing to offend his readership with his controversial positions on matters such as religion, art, politics, war and literature. He died in Houston, Texas, on December 15, 2011.
</p>
<img id="bio-img" src="https://gakg5sv2p13fjr0q1hulkabr-wpengine.netdna-ssl.com/wp-content/uploads/2011/12/Christopher-Hitchens-001.jpg">
<p>Hitchens, the son of a commander in the Royal Navy, spent his early childhood in itinerant fashion, with stays in Malta and in Rosyth, Scotland. His mother emphasized education as an entrée into the upper echelons of society. At her insistence, Hitchens was sent to boarding school at an early age, eventually attending The Leys School, Cambridge. In 1967 he enrolled at Balliol College, Oxford, where he joined the International Socialists, a Trotskyist sect. Though an adamant leftist, Hitchens cultivated connections across the political spectrum, a tendency that incurred opprobrium from his more doctrinaire compatriots. He graduated with a bachelor’s degree in philosophy, politics, and economics in 1970 and moved to London, where he wrote for the Times Higher Education Supplement.</p>
<p>In 1973 Hitchens became a staff writer for the left-wing weekly New Statesman and then moved to the Evening Standard. He served as a foreign correspondent for the Daily Express (1977–79) before becoming foreign editor of the New Statesman (1979–81). Hitchens moved to New York City in 1981, and the following year he relocated to Washington, D.C., where he penned the column “Minority Report” for the liberal magazine The Nation. During this time he also wrote Cyprus (1984; reissued as Hostage to History: Cyprus from the Ottomans to Kissinger, 1989), an analysis of the role of imperial powers in the 1974 conflicts in Cyprus, and The Elgin Marbles: Should They Be Returned to Greece? (1987).</p>
<p>After death threats were issued against his friend Salman Rushdie in 1989—following allegations about the sacrilegious nature of Rushdie’s novel The Satanic Verses (1988)—Hitchens publicly defended him, citing his right to freedom of expression and excoriating fellow leftists for failing to do the same. A year later Hitchens released The Monarchy: A Critique of Britain’s Favorite Fetish and Blood, Class, and Nostalgia: Anglo-American Ironies, a discussion of the uneven cultural exchange between the United States and England. In 1992 he began writing a column for Vanity Fair magazine.</p>
<p>Hitchens frequently lambasted what he saw as the mythologizing of public figures. In The Missionary Position: Mother Teresa in Theory and Practice (1995), he was sharply critical of Mother Teresa, and among his allegations were claims that she supported dictators, including Haiti’s Jean-Claude Duvalier; many of the book’s accusations were featured in the television documentary Hell’s Angel (1994), which he wrote. Hitchens also detailed the various indiscretions of U.S. Pres. Bill Clinton in No One Left to Lie To: The Triangulations of William Jefferson Clinton (1999) and documented what he perceived as the war crimes of former secretary of state Henry Kissinger in The Trial of Henry Kissinger (2001; film 2002). In addition to writing, he appeared regularly as a television commentator and on the lecture circuit, often engaging opponents in political debate.</p>
<p>Hitchens’s later works include Why Orwell Matters (2002), Thomas Jefferson: Author of America (2005), and Thomas Paine’s Rights of Man: A Biography (2006). With God Is Not Great: How Religion Poisons Everything (2007) Hitchens issued a rallying cry to the atheist movement; he dubbed the quartet formed by him and fellow atheists Sam Harris, Richard Dawkins, and Daniel C. Dennett “the Four Horsemen of the Counter-Apocalypse.”</p>
<p>After the September 11 attacks of 2001, Hitchens was widely perceived as having migrated to the right on the political spectrum, actively campaigning for the invasion of Iraq and deposal of Ṣaddām Ḥussein and endorsing George W. Bush in the 2004 U.S. presidential election. Hitchens dropped his column for The Nation in 2002. He maintained that the shifts in his political allegiances were motivated by the right’s stronger and more-interventionist stance against what he deemed “fascism with an Islamic face.” Hitchens became a United States citizen in 2007, though he retained his citizenship in the United Kingdom.</p>
<p>His memoir, Hitch-22, was published in 2010; during the book tour, Hitchens announced that he had been diagnosed with esophageal cancer. While undergoing treatment, he continued to make public appearances, during which he discussed his condition and frequently reiterated his religious disbelief in response to suggestions of a possible deathbed recantation. The Quotable Hitchens: From Alcohol to Zionism, a compendium of his one-liners, and Arguably, a collection of cultural commentary, were released in 2011 prior to his death. Mortality, comprising essays written in the wake of his cancer diagnosis, was published the following year. And Yet…(2015) assembles essays on a wide variety of topics.</p></div>
<div id="tribute-link-cont"><div>
<h3>Learn more about Christopher Hitchens <a id="tribute-link" href="https://en.wikipedia.org/wiki/Christopher_Hitchens" target="_blank">Here</a></h3></div>
<div><h2>Coded by TonyDMorris</div>
</div>
</main>
</html>
@import url('https://fonts.googleapis.com/css?family=Oleo+script');
.wrapper{
display: grid;
grid-template-columns: auto;
grid-template-rows: auto;
grid-gap: 15px;
grid-template-areas:
"header header header "
"list biography biography"
"tribute-link-cont tribute-link-cont tribute-link-cont";
width: 100%;
height: 100%;
background-color: #F8ECC2;
text-align: center;
padding: 20px;
}
@media (max-width: 500px) {
.wrapper {
grid-template-rows: auto;
grid-row-gap: 15px;
grid-template-areas:
"header"
"biography"
"list"
"tribute-link-cont";
}
}
#title{
font-family: Oleo-script;
}
.list{
background-color: #ffa64d;
grid-area: list;
text-align: center;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
h2{
color: #ffffe6;
}
li{
padding-bottom: 10px;
}
.list-items{
padding-right:15px;
font-family: garamond;
}
p{
top:10px;
left:18px;
font-size:13pt;
font-weight:bold;
font-family:garamond;
}
#header {
grid-area: header;
padding-bottom: 10px;
}
#title {
text-align: center;
font-size: 33px;
font-family: helvetica;
}
#img-div{
text-align: center;
font-size: 10px;
font-style: italic;
}
#image{
display: block;
margin-left: auto;
margin-right: auto;
width: 50%;
max-width:100%;
height:auto;
}
#biography{
grid-area: biography;
background-color: #2dafa6;
padding: 10px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#bio-img {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
max-width:100%;
height:auto;
}
#tribute-link-cont{
display: grid;
grid-template-columns: 1fr 2fr;
grid-area: tribute-link-cont;
background-color: #cc0000;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
font-family:garamond;
}
Also see: Tab Triggers