Advertisement
makispaiktis

Codecademy - 15th Exercise (CSS Typography - HTML File)

Oct 19th, 2019 (edited)
1,052
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 6.15 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.   <title>Morocco</title>
  5.   <link rel="stylesheet" type="text/css" href="styles/reset.css">
  6.   <link rel="stylesheet" type="text/css" href="styles/style.css">
  7.   <!-- Linking other Google fonts -->
  8.   <link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Merriweather:400,400i|Work+Sans:400,500,800&display=swap" rel="stylesheet">
  9. </head>
  10. <body>
  11.   <!-- Header -->
  12.   <nav class="header">
  13.     <span class="logo">AOFIE CONLEAVY</span>
  14.     <ul>
  15.       <li><a href="#">TRAVELS</a></li>
  16.       <li><a href="#">FICTION</a></li>
  17.       <li><a href="#">CONTACT</a></li>
  18.     </ul>
  19.   </nav>
  20.  
  21.   <!-- Banner -->
  22.   <div class="banner">
  23.     <h2>DEC 20XX</h2>
  24.     <h1>Morocco</h1>
  25.   </div>
  26.  
  27.   <!-- Journal -->
  28.   <div class="journal">
  29.     <div class="first photo">
  30.       <div class="image-container">
  31.         <img src="https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-6/project-morocco/photo1.png">
  32.       </div>
  33.       <span class="caption">A convoy of camels criss-crossing the crests of the Sahara</span>
  34.     </div>
  35.     <p>
  36.       <span class="first-letter">I</span> am in the Great Sahara Desert for the third sundown in a row. Fouad and I pass back and forth a sun-bleached map of the stars. It’s more of a tug-of-war to be honest. With what remains of the daylight, we commit to memory the positions of spots on the page. We hope to find some correlation in its negative, which slides overhead as the sun rapidly dies.
  37.     </p>
  38.     <p>
  39.       "Navigating by night is always easier." Fouad flicks these English words as ash from a cigarette. "You’ll see."
  40.     </p>
  41.     <p>
  42.       "We won't see anything. That's my point!"
  43.     </p>
  44.     <p>
  45.       How did we get here?
  46.     </p>
  47.     <p>
  48.       It started eight days ago when I arrived in Malilla on the boat from Malaga. The sun hit me like a judgement as I stepped onto the gangplank. A bit about Morocco:  
  49.     </p>
  50.     <div class="photo">
  51.       <div class="image-container">
  52.         <img src="https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-6/project-morocco/photo2.png">
  53.       </div>
  54.       <span class="caption">The long and winding road to Merrakec</span>
  55.     </div>
  56.     <p>
  57.       Morocco has a population of over 33.8 million and an area of 446,550 km2 (172,410 sq mi). Its capital is Rabat, and the largest city is Casablanca. Other major cities include Marrakesh, Tangier, Tetouan, Sale, Fes, Agadir, Meknes, Oujda, Kenitra, and Nador. A historically prominent regional power, Morocco has a history of independence not shared by its neighbours.
  58.     </p>
  59.     <span class="quote">"Navigating by night is always easier."</span>
  60.     <p>
  61.       Since the foundation of the first Moroccan state by Idris I in 789, the country has been ruled by a series of independent dynasties, reaching its zenith under the Almoravid and Almohad dynasty, spanning parts of Iberia and Northwestern Africa. Marinid and Saadi dynasties continued the struggle against foreign domination, and Morocco remained the only North-African country to avoid Ottoman occupation.
  62.     </p>
  63.     <p>
  64.       The Alaouite dynasty, the current ruling dynasty, seized power in 1666. In 1912 Morocco was be divided into a French and Spanish protectorates, with an international zone in Tangier, and regained its independence in 1956. Moroccan culture is a blend of Arab, indigenous Berber, Sub-Saharan African, and European influences.
  65.     </p>
  66.     <div class="photo">
  67.       <div class="image-container">
  68.         <img src="https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-6/project-morocco/photo3.png">
  69.       </div>
  70.       <span class="caption">A stall at the Jemaa El Fnaa street market</span>
  71.     </div>
  72.     <p>
  73.       Morocco claims the non-self-governing territory of Western Sahara as its Southern Provinces. Morocco annexed the territory in 1975, leading to a guerrilla war with indigenous forces until a cease-fire in 1991. Peace processes have thus far failed to break the political deadlock.
  74.     </p>
  75.     <p>
  76.       Morocco is a constitutional monarchy with an elected parliament. The King of Morocco holds vast executive and legislative powers, especially over the military, foreign policy and religious affairs. Executive power is exercised by the government, while legislative power is vested in both the government and the two chambers of parliament, the Assembly of Representatives and the Assembly of Councillors. The king can issue decrees called dahirs which have the force of law. He can also dissolve the parliament after consulting the Prime Minister and the president of the Constitutional court.
  77.     </p>
  78.     <span class="quote">“Navigating by night is always easier.”</span>
  79.     <p>
  80.       Morocco's predominant religion is Islam, and the official languages are Arabic and Tamazight. Moroccan dialect, referred to as Darija, and French are also widely spoken. Morocco is an influential member of the Arab League and a part of the Union for the Mediterranean. It has the fifth largest economy of Africa.
  81.     </p>
  82.     <div class="photo">
  83.       <div class="image-container">
  84.         <img src="https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-6/project-morocco/photo4.png">
  85.       </div>
  86.       <span class="caption">The desert at night is strange and beautiful</span>
  87.     </div>
  88.   </div>
  89.  
  90.   <!-- Footer -->
  91.   <footer>
  92.     <div class="image-container">
  93.       <img src="https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-6/project-morocco/author.png">
  94.     </div>
  95.     <div class="content">
  96.       <p>
  97.         <span class="author">Aoife Donleavy</span> has been writing on her travels for over two decades.
  98.         After graduating from the <em>Idaho Writers' Workshop</em>, she piloted a biplane on a two-year voyage from <em>Anchorage</em>, <em>Alaska</em> to <em>Isafjorour</em>, <em>Iceland</em> stopping along the way for adventures throughout Europe.
  99.       </p>
  100.       <p>
  101.         Since then, she has camped on all seven continents, and has been recognized worldwide for her spare, ageless prose. Aoife's new novel, <em>Tide Blade</em>, is currently available from <em>Walrus Publishing</em>.
  102.       </p>
  103.     </div>
  104.   </footer>
  105. </body>
  106. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement