 'https://scrimba.com/p/pVaDAv/c2p78cg'
forumTopicId: 301111
dashedName: use-the-flex-grow-property-to-expand-items
---

# --description--

The opposite of `flex-shrink` is the `flex-grow` property. Recall that `flex-shrink` controls the size of the items when the container shrinks. The `flex-grow` property controls the size of items when the parent container expands.

Using a similar example from the last challenge, if one item has a `flex-grow` value of `1` and the other has a `flex-grow` value of `3`, the one with the value of `3` will grow three times as much as the other.

# --instructions--

Add the CSS property `flex-grow` to both `#box-1` and `#box-2`. Give `#box-1` a value of `1` and `#box-2` a value of `2`.

# --hints--

The `#box-1` element should have the `flex-grow` property set to a value of `1`.

```js
assert($('#box-1').css('flex-grow') == '1');
```

The `#box-2` element should have the `flex-grow` property set to a value of `2`.

```js
assert($('#box-2').css('flex-grow') == '2');
```

# --seed--

## --seed-contents--

```html
<style>
  #box-container {
    display: flex;
    height: 500px;
  }

  #box-1 {
    background-color: dodgerblue;
    height: 200px;

  }

  #box-2 {
    background-color: orangered;
    height: 200px;

  }
</style>

<div id="box-container">
  <div id="box-1"></div>
  <div id="box-2"></div>
</div>
```

# --solutions--

```html
<style>
  #box-container {
    display: flex;
    height: 500px;
  }

  #box-1 {
    background-color: dodgerblue;
    height: 200px;
    flex-grow: 1;
  }

  #box-2 {
    background-color: orangered;
    height: 200px;
    flex-grow: 2;
  }
</style>

<div id="box-container">
  <div id="box-1"></div>
  <div id="box-2"></div>
</div>
```
<gh_stars>0
{
	"ImageDescription": "",
	"Make": "NIKON",
	"Model": "COOLPIX S1200pj",
	"Orientation": 1,
	"XResolution": 72,
	"YResolution": 72,
	"Software": "ViewNX 2.1 W",
	"ModifyDate": "2011:06:30 13:15:28",
	"YCbCrPositioning": 1,
	"ExifOffset": 250,
	"Compression": 6,
	"ThumbnailOffset": 11372,
	"ThumbnailLength": 4016,
	"ExposureTime": "1/60",
	"FNumber": 4.8,
	"ISO": 80,
	"ExifVersion": "2.3",
	"DateTimeOriginal": "2011:06:30 13:11:47",
	"CreateDate": "2011:06:30 13:11:47",
	"ExposureCompensation": 0,
	"UserComment": "ASCII",
	"FlashpixVersion": "1",
	"ExifImageWidth": 4320,
	"ExifImageHeight": 3240,
	"InteropOffset": 880,
	"DigitalZoomRatio": 0,
	"FocalLengthIn35mmFilm": 83,
	"InteropIndex": "R98",
	"InteropVersion": "1"
}Oshtemo Township Fire Department To Burn Former Wild Bird Feed Building On 9th Street
Oshtemo Township Fire Department is set to have a total burn of the former Wild Bird Feed building on 9th Street, North of West Main This Monday, June 20th.
According to the Department's Facebook page, the building was used for fire training and the structure of the building is no longer viable.
This Monday, June 20th the department will burn the building at 5 a.m. The majority of the fire should be finished before morning traffic on M-43 (West Main).
Fire apparatus will be strategically placed to insure safety of adjacent properties.I used to be under the mindset that filter caps needed to be changed until I realized that there was nothing wrong with most of the caps I was throwing out.
F&T's are great!
I would change them every 10 years no matter what.
That's all well and good until one goes and takes a PT with it....
I know, I've heard all the arguments.
Even saw a pic of a new one that blew up. I'll take any Eries or Hunts you guys throw out.
F&T are great. I've also got JJs in one of my Marshalls with no complaints. But, the "general" verdict with Marshall guru's is F&T. But, I haven't compared in the same amp A/B to know. I don't think you can go wrong with either.
Hey all you Vintage Marshall experts. I have a early 71' metal panel coming real quick...
If the amp is a 50 watt, you can either go with F&T or wait for Zoso to bring out their 50uF x 50uF. From what I understand, they are supposed to be available sometime this year. And BTW, I have the original Erie's in my '71 JMP50 and they are still working fine...
AES (tubesandmore.com) also sells generic 50/50 and 100/100 can caps that are inexpensive, like $9 each. I think they are made in Taiwan or something, and I haven't heard anything about their quality, but it is another option.
Is there any simple reversible mod you can do to prevent the power tranny blowing when the filter caps go out - like adding resistors or fuses?
I like the ARS as good (or better) than any replacements.
Some of the lowest ESR/ripple out there.
That said, I do like the Hunts/Erie originals for the fact that they don't.
In what way? Can you explain this please?
On my JTM 50 watt that I built years ago with a rectifier I installed a fuse on the power tranny center tap to ground. I would have to look to see what amp fuse it is but it has saved the tranny from blown tubes. Also you can use diodes on the power tubes.....But I would not do that to an original vintage marshall.
If you read the posts above one guy says the AES caps are great, and if Lord Valve sells them that's a good sign, too. I just had heard a few good comments about them and thought I'd let you know. Higher price doesn't always mean a better product!
I mean the value of a cap is most important, correct? If two caps measure the exact same value, can they sound different?
I did a filter cap replacement with a JCM 800 2204, 27y/o Daly's for new F&T's, The change removed the hum from my amp, but that's about it. No change in tone at all, but I didn't want change so that's okay. I'm just curious as to how electronic components of the same value can provide tone change.
I can! see how build quality can make a difference over time.The University of Vermont is in a time of both transition and great success. It is a time when national attention around the academics, the student body and the “Vision” of the University is at peak. The administration has aspirations which would lead UVM back to the days of “Public Ivy” status and once again find its place among the top institutions of higher education in America. They also have aspiration to make the University not only the premier environmental University but also a leading institution for social and economic justice. President Fogel at his convocation address specifically mentioned UVM’s need to “walk the walk” when is comes to issues of social and economic justice. However, currently this is not a reality.
The reality is that while UVM is in a time financial health and record enrollment, the workers that make this University tick — the faculty who teach us, the staff who help us, and the construction workers who are building the “vision” — are not all being given community and family sustaining wages and benefits. The full and part-time faculty union, United Academics, have both reached contract impasse with the University over these specific issues. They are being offered salary increased which do not keep up with the cost of living and rollbacks in benefits. This directly affects the Universities ability