Formatted html as I think it should go. Awful class names right now.
This commit is contained in:
		
							parent
							
								
									53abbe6c9e
								
							
						
					
					
						commit
						4b1e46d0a3
					
				| 
						 | 
					@ -8,31 +8,45 @@
 | 
				
			||||||
  <link rel="stylesheet" href="./css/style.css">
 | 
					  <link rel="stylesheet" href="./css/style.css">
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
  <title>Frontend Mentor | Single Price Grid Component</title>
 | 
					  <title>Frontend Mentor | Single Price Grid Component</title>
 | 
				
			||||||
 | 
					 | 
				
			||||||
  <!-- Feel free to remove these styles or customise in your own stylesheet 👍 -->
 | 
					 | 
				
			||||||
  <style>
 | 
					 | 
				
			||||||
    .attribution { font-size: 11px; text-align: center; }
 | 
					 | 
				
			||||||
    .attribution a { color: hsl(228, 45%, 44%); }
 | 
					 | 
				
			||||||
  </style>
 | 
					 | 
				
			||||||
</head>
 | 
					</head>
 | 
				
			||||||
<body>
 | 
					<body>
 | 
				
			||||||
 | 
					  <main>
 | 
				
			||||||
 | 
					    <div class="topRow">
 | 
				
			||||||
 | 
					      <div class="heading">
 | 
				
			||||||
        Join our community
 | 
					        Join our community
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <div class="quickSell">
 | 
				
			||||||
        30-day, hassle-free money back guarantee
 | 
					        30-day, hassle-free money back guarantee
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
 | 
					      <div class="sellBlurb">
 | 
				
			||||||
        Gain access to our full library of tutorials along with expert code reviews. 
 | 
					        Gain access to our full library of tutorials along with expert code reviews. 
 | 
				
			||||||
        Perfect for any developers who are serious about honing their skills.  
 | 
					        Perfect for any developers who are serious about honing their skills.  
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					    <div class="bottomRow">
 | 
				
			||||||
 | 
					      <div class="pricingBox">
 | 
				
			||||||
 | 
					        <div class="heading">
 | 
				
			||||||
          Monthly Subscription
 | 
					          Monthly Subscription
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  $29 per month
 | 
					        <div class="priceRow">
 | 
				
			||||||
 | 
					          <div class="price">$29</div> <span class="pricePeriod">per month</span>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
 | 
					        <div class="sell">
 | 
				
			||||||
          Full access for less than $1 a day
 | 
					          Full access for less than $1 a day
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
      
 | 
					      
 | 
				
			||||||
  Sign Up
 | 
					        <a title="Sign Up Button" href="#" class="signupButton">Sign Up</a>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					      <div class="whyUsBox">
 | 
				
			||||||
 | 
					        <div class="heading">
 | 
				
			||||||
          Why Us
 | 
					          Why Us
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <div class="blurb">
 | 
				
			||||||
          Tutorials by industry experts
 | 
					          Tutorials by industry experts
 | 
				
			||||||
          Peer & expert code review
 | 
					          Peer & expert code review
 | 
				
			||||||
          Coding exercises
 | 
					          Coding exercises
 | 
				
			||||||
| 
						 | 
					@ -40,11 +54,14 @@
 | 
				
			||||||
          Community forum
 | 
					          Community forum
 | 
				
			||||||
          Flashcard decks
 | 
					          Flashcard decks
 | 
				
			||||||
          New videos every week  
 | 
					          New videos every week  
 | 
				
			||||||
  
 | 
					        </div>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					    </div> 
 | 
				
			||||||
 | 
					  </main> 
 | 
				
			||||||
  <footer>
 | 
					  <footer>
 | 
				
			||||||
    <p class="attribution">
 | 
					    <p class="attribution">
 | 
				
			||||||
      Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. 
 | 
					      Challenge by <a href="https://www.frontendmentor.io?ref=challenge" target="_blank">Frontend Mentor</a>. 
 | 
				
			||||||
      Coded by <a href="#">Your Name Here</a>.
 | 
					      Coded by <a href="emailto:rob@tarasis.net">Robert McGovern</a>.
 | 
				
			||||||
    </p>
 | 
					    </p>
 | 
				
			||||||
  </footer>
 | 
					  </footer>
 | 
				
			||||||
</body>
 | 
					</body>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,3 +4,11 @@ As usual copy files into place and commit.
 | 
				
			||||||
Checked size of the design images: 1440x800 and 375x870  
 | 
					Checked size of the design images: 1440x800 and 375x870  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Set up the style.css to have the base things listed in the style guide (font, colors, font size), and add style.css to index.html
 | 
					Set up the style.css to have the base things listed in the style guide (font, colors, font size), and add style.css to index.html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Looking at the designs, I see it as Flex, with 2 rows in a column. On the desktop, the 2nd row, is a row of 2 items, on mobile the 2nd row becomes as column of 2 items.  
 | 
				
			||||||
 | 
					Otherwise there doesn't seem to be any obvious/glaring differences between the 2 designs. Sizing seems largely the same, as does positioning of everything inside their respective boxes.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Set-up the HTML into `div`s to match what I think are the distinct sections. Absolutely need to change some of the names, but I can't think of better descriptors at the moment. (seriously ... "sellBlurb" 🙄)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Aside: Would love something to take all the classes I define in the html file and put them into the css file ... *quick google later* Oooooh. Such a thing does exist https://marketplace.visualstudio.com/items?itemName=diz.ecsstractor-port ... lets see how well that works.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in New Issue