Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

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.

+ 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

Save Automatically?

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">Muhammad Ali Jinnah</h1>
  <div id="img-div">
    <img src="https://upload.wikimedia.org/wikipedia/commons/c/cc/Jinnah1945c.jpg" alt="" id="image">
    <p id="img-caption">Photograph of Muhammad Ali Jinnah</p>    
  </div>
 <!-- IMAGE SECTION ENDS HERE -->
    
 <!-- INFO SECTION STARTING HERE-->
  
  <div id="tribute-info">
    <h2>Here is a timeline of Muhammad Ali Jinnah's life</h2>
   <ul>
     <li>1876: Mohammad Ali Jinnah was born on 25 December 1876, Sunday. Though there was some discrepancy about this date, but now it is official accepted date. Through out Pakistan there is holiday on this date commemorate his birthday.
</li>
     <li>1882: At the age of six he starting learning Guajarati at home and elementary education in primary school
</li>
     <li>1883: He was admitted in the Sind Islamic School in Karachi.
</li>
     <li>1885: He begin his proper primary education
</li>
     <li>1886: His parent was migrated from Karachi to Bombay, where he was admitted in other primary school. He was very fond of horse riding at this young age.
</li>
     <li>1887: He completed his primary education and was admitted in Christian Missionary high school, Karachi
</li>
     <li>1892: He got married to EmiBai.
</li>
     <li>1893: Joined Lincoln Inn
</li>
     <li>1894: His wife EmiBai died? After some months His beloved mother also passed away
</li>
     <li>1895: At the age of 18 he become the first youngest person to become the barrister
Mother died at Karachi</li>
     <li>1896: Returned to Karachi from London migrated to Bombay
</li>
     <li>1897: He become the advocate of high court in Bombay and begin his practice. He was the first Muslim to become barrister in the high court
</li>
     <li>1900: Appointed Presidency magistrate, Bombay
</li>
     <li>1902: His beloved father, Jinnah Ponja, Passed away. At this time he was earning 2000 rupees per month
</li>
     <li>1905: He was private secretary working for DADA BAHI NOORJI
</li>
     <li>1906: In yearly conference in Dacca All India Muslim League was established, he read about this in a newspaper
</li>
     <li>1907: Become the vice president of Indian Muslim Association
</li>
     <li>1909: He was nominated for the supreme legislative council election. In these elections for the first time separate rights of election for the Muslim were acknowledge
</li>
     <li>1910: Elected to the Legislative Assembly, Bombay
</li>
     <li>1911: Piloted Waqf Alal Aulad Bill –the only private members Bill to be passed (in 1913)
</li>
     <li>1912: Attended All-India Muslim League Council Meeting
</li>
     <li>1913: Joined All India Muslim League
</li>
     <li>1915: Initiated the move for setting up of a League-congress joint committee for Hindu-Muslim unity
</li>
     <li>1916: Presided over the 16th Bombay provincial conference presided over the All India Muslim League Lucknow session;
Lucknow Pact signed
</li>
     <li>1917: Became President, Home Rule League, Bombay organised Memorandum of the Nineteen
</li>
     <li>1918: Married Rattenbai at Calcutta foiled the move to set up Willingdon Memorial in Bombay.
</li>
     <li>1919: Daughter (Dina) born resigned from the Imperial Legislative Council as a protest against Rowlatt Act
</li>
     <li>1920: Resigned from Home Rule League
</li>
     <li>1922: Participated in All parties conference in Bombay as one of the three Secretaries
</li>
     <li>1923: Elected to the Imperial Legislative Council form Bombay
</li>
     <li>1924: Presided over the All India Muslim League session in Lahore
</li>
     <li>1926: 18th meeting of Muslim League took place in Delhi, in this meeting along with many other politician Allama-Iqbal also took part
</li>
     <li>1927: Simian commission was cancelled by the Quaid, because it was of no use to Muslim in minority.
</li>
     <li>1928: Attended National Convention at Calcutta
</li>
     <li>1929: Rejection of Nehru Report which has no benefit for the Muslim living in Hindustan. Quaid presented his fourteen points. Quaid and Ghandi met in a meeting and exchange their views for the future of Hindustan
</li>
     <li>1930: Round table conference was held in London and Quaid was representative for the Muslims in Hindustan
</li>
     <li>1931: Stayed on in England, gave up political activities temporarily
</li>
     <li>1934: returned to India Got actively engaged in politics
</li>
     <li>1936: Constituted All India Muslim League Central Parliamentary Board to fight elections under 1935 Act
</li>
     <li>1940: 23rd March 1940, Yearly meeting of Muslim League was held in Lahore, Where Quaid addressed large number of Muslim and said In all those areas where Muslim community are in majority should be united to one as separate sovereign independence state. Where Muslims are minority all necessary steps should be taken to protect their religion, life, culture, economy and rights. In this meeting only word Separate Nation was used which later changed to PAKISTAN. Ghandi and Raj Gopal strongly contradicted this view of Quaid
</li>
     <li>1941: In an address to Punjab Muslim Student Federation he asked student to get together to have separate nation, and separate nation require land to LIVE. He convey the same message to the student of Aligarh Muslim University
</li>
     <li>1942: In an address to All India Muslim Student Federation once again he emphasis on the LAND, and ask the student to work, work and only work
</li>
     <li>1944: Jinnah-Gandhi talks
</li>
     <li>1946: All India Muslim Sweeps the polls in Muslim constituencies
</li>
     <li>1947: February 20, Prime Minister Attlee announces that the British would relinquish power in India by June 1948
</li>
     <li>1948: July 1, Inaugurated State Bank of Pakistan
</li>
   </ul>
    
    <h2>To know more about Muhammad Ali Jinnah check out his <strong><a id="tribute-link" href="https://en.wikipedia.org/wiki/Muhammad_Ali_Jinnah" target="_blank">Wikipedia Page</a></strong></h2>
    <p id="credit">Note: I do not own the content on the page the content is owned by <strong><a href="https://jobzguru.com/challenge/timeline-of-quaid-e-azam-muhammad-ali-jinnah/430">Jobsguru</a></strong></p>
  </div>
  
  
  
</div>
              
            
!

CSS

              
                
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100&display=swap');
body{
  font-size:10px;
  font-family:Roboto;
  color:#2d3436;
}
#main{
  background-color:#a4b0be;
  border-radius:3px;
}
#title{
  text-align:center;
  font-size:2rem;
}
#img-div{
  width:50vw;
  background-color:#57606f;
  margin:0 auto;
}
#image{
  max-width:100%;
  width:100%;
  height:auto;
  margin:0 auto;
  display:block;
 
}
#img-caption{
  font-size:1.2rem;
  text-align:center;
  margin-top:20px;
  padding-bottom:20px;
  color:white;
}
h2{
  font-size:1.5rem;
  text-align:center;
}
li{
  font-size:1.6em;
  line-height:1.3;
  margin:10px;
}
ul{
  max-width:600px;
  margin:20px auto;
}
a{
  text-decoration:none;
}
#credit{
  font-size:1.6em;
  text-align:center;
}
@media (max-width: 450px){
  #main{
    width:100%;
  }
  
}
              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console