Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

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.

+ add another resource

Packages

Add Packages

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.

Behavior

Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                
    <div id="main">
        <h1 id="title" align='center'>Alan Turing</h1>
        <div><h2 align='center'>The father of modern computing</h2></div>
        <blockquote class="b">
            <p>
            “We can only see a short distance ahead, but we can see plenty there that needs to be done.”
            </p>
        </blockquote>
        <div id="img-div">
            <img id="image" align='center' src="https://bit.ly/2JawZfz" alt="picture from wikipedia">
            <div id="img-caption" align='center'>Alan Turing in 1927</div>
        </div>
        <div id='intro'>
            Alan Mathison Turing (23 June 1912 – 7 June 1954) was an English computer scientist, mathematician, logician, cryptanalyst, philosopher, and theoretical biologist.
            Turing was highly influential in the development of theoretical computer science, providing a formalisation of the concepts of algorithm and computation with the Turing machine, which can be considered a model of a general purpose computer.
            Turing is widely considered to be the father of theoretical computer science and artificial intelligence.
        </div>
        <div id="tribute-info">
            <div='middle'>
            <p>
                Genius mathematician who played an important role in breaking ENIGMA CODES during the world war – that’s how we recognize Alan Turing. Thanks to the brilliant Oscar winning film The Imitation Game, the world came to know about the brilliance of Alan Turing, and so did I.
            </p>

            <p>
                Right from his childhood, Alan was always far ahead of his classmates. He used to live in the world of advanced science, remaining socially isolated. With the help of Christopher Malcom, his fellow classmate, he opened up and started communicating. Christopher, however, died due to Tuberculosis which left Alan devastated for a long time.
            </p>
            </div>
            <p>
                Alan work revolved around quantum physics and advanced mathematics thereafter, which was deeply inspired by Christopher.
            </p>

            <p>
                He published a philosophical paper including the idea of an ‘Imitation game’ for comparing human and machine outputs, which is now called the Turing Test. This paper remains his best known work and was a key contribution to the field of Artificial Intelligence.
            </p>

            <p>
                Another important contribution includes breaking of the Germany’s enigma machine which was considered “Unbreakable”.
            </p>

            <p>
                Alan collaborated with another Cambridge mathematician, Gordon Welchman, and designed a new machine called the British Bombe, which was capable of breaking any enciphered message. 
            </p>

            <p>
                Alan was really passionate about his work; he would work for hours and hours without getting distracted. Being extremely systematic and consistent were some of his prominent traits that set him apart from his counterparts. It’s often said that Alan approached a problem with first principle thinking, i.e. free from the influence of a received opinion. This approach gave profundity and originality to his thinking.
            </p>

            <p>
                Alan was known to be highly eccentric as well. Here is a quote from the book History of Computing in the Twentieth Century that highlights his eccentricities:
            </p>
            <blockquote>
                “In the first week of June each year he [Alan] would get a bad attack of hay fever, and he would cycle to the office wearing a service gas mask to keep the pollen off. His bicycle had a fault: the chain would come off at regular intervals. Instead of having it mended he would count the number of times the pedals went round and would get off the bicycle in time to adjust the chain by hand. Another of his eccentricities is that he chained his mug to the radiator pipes to prevent it being stolen.”
            </blockquote>

            <p>
                Alan continued publishing many papers and contributed many theories which are significant in the field of science. He even proposed a theory in the field of Biological science.
            </p>
            <p>
                After the war, Alan was arrested with the charge of ‘indecency’ as he was homosexual. He was also labelled as a security risk following which he lost his job as a cryptanalyst. He was also forced to undergo a chemical castration. But he never apologized for it, stood by it and continued working despite numerous hardship.
            </p>
            <p>
                After few years, in 1954, he was found dead in the bed by his cleaner which was considered a suicide through the intake of cyanide by biting into an apple laced with cyanide.
            </p>
            <p>
                Owing to enormous response received by John Grahm Cumming’s petition, Queen Elizabeth II signed a pardon for Turing’s conviction for gross indecency in 2009.
            </p>
            <p>
                Today Turing is remembered as a genius mathematician, cryptanalyst, logician, and the father of modern computer science. Though the tragic end his life holds an important impact on us.
            </p>
            <h4>If you have time, you should read more about this incredible human being on his <a id="tribute-link" href="https://en.wikipedia.org/wiki/Alan_Turing" target="_blank">Wikipedia entry</a>.</h4>
        </div>
    </div>
              
            
!

CSS

              
                body{
    font-family:"Trebuchet MS", Helvetica, sans-serif;
    min-width:260px;
    color:#333;
  }
  b{
      text-align: center;
  }
  blockquote {
    font-family: Georgia, serif;
    font-size: 18px;
    font-style: italic;
    width: 500px;
    margin: 0.5em auto !important;
    padding: 0.02em 2px;
    line-height: 1.45;
    position: relative;
    color: #383838;
  }
  
  #main{
    margin:auto;
    max-width: 900px;
    padding:15px;
    border:0px solid;
    border-radius:5px;
    background:#eee;
  }
  img{
    width: 20%;
    max-width: 100%; 
    display: block; 
    height: auto;
    margin: auto;
    padding-bottom: 20px;
  }
  #img-div{
    padding: left 10px; 
    margin:-5px;
    margin-top:20px;
    width:100%;
    border:5px;
  }
  #middle{
      align-content: left;
      margin: 75%;
  }
 #img-caption{
  padding-bottom:  20px;
}
  blockquote{
    font-style: italic;
  }
              
            
!

JS

              
                
              
            
!
999px

Console