This includes certificates (where it does nothing), but does not include any translations.
		
			
				
	
	
	
		
			1.8 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			1.8 KiB
		
	
	
	
	
	
	
	
id, title, challengeType, isHidden, videoUrl, forumTopicId
| id | title | challengeType | isHidden | videoUrl | forumTopicId | 
|---|---|---|---|---|---|
| 587d78ab367417b2b2512af0 | Use display: flex to Position Two Boxes | 0 | false | https://scrimba.com/p/pVaDAv/cgz3QS7 | 301105 | 
Description
display: flex; on an element allows you to use other flex properties to build a responsive page.
Instructions
display to #box-container and set its value to flex.
Tests
tests:
  - text: <code>#box-container</code> should have the <code>display</code> property set to a value of <code>flex</code>.
    testString: assert($('#box-container').css('display') == 'flex');
Challenge Seed
<style>
  #box-container {
    height: 500px;
  }
  #box-1 {
    background-color: dodgerblue;
    width: 50%;
    height: 50%;
  }
  #box-2 {
    background-color: orangered;
    width: 50%;
    height: 50%;
  }
</style>
<div id="box-container">
  <div id="box-1"></div>
  <div id="box-2"></div>
</div>
Solution
<style>
  #box-container {
    height: 500px;
    display: flex;
  }
  #box-1 {
    background-color: dodgerblue;
    width: 50%;
    height: 50%;
  }
  #box-2 {
    background-color: orangered;
    width: 50%;
    height: 50%;
  }
</style>
<div id="box-container">
  <div id="box-1"></div>
  <div id="box-2"></div>
</div>