These are chat archives for FreeCodeCamp/Help

31st
Jan 2019
Richard
@rylew0925
Jan 31 00:33
For this example code, does increasing or decreasing the percentage values increase or decrease the width of the colors?
''
' '
body {
background: repeating-radial-gradient(circle, red 5%, yellow 18%, blue 20%)
}
I forget how to paste the actual codes here
When I increase the red color's percentage, it becomes all blue for some reason
Christopher McCormack
@cmccormack
Jan 31 01:03
wrap your code in three backticks on their own line. You can edit previous posts.
```
code here
```
Also there is a little button on the bottom right that explains markdown formatting for gitter
@rylew0925
kinopotato
@kinopotato
Jan 31 09:32
Hello, how do I make the width of my <td> 100% if there are 2 columns? So in my case there are 2 columns above but the row below I want it to have only 1 column but it's not filling the span of 2 columns
I tried adding width: 100% on tr then on td, didn't work for both
Thorbjørn Bruarøy
@The2rB
Jan 31 10:13

Do I understand correctly if I assume that you have two columns in your table - but need one row to span over the entire width?
Maybe this would do it for you?
<td colspan="2" style="width:100px">Content</td>
Ref: https://www.w3schools.com/tags/att_td_colspan.asp

Width might in addition also depend on the width of the <tr>.

kinopotato
@kinopotato
Jan 31 10:14
@The2rB thanks! :D yeah it's colspan! thanks dude
Thorbjørn Bruarøy
@The2rB
Jan 31 10:14
np
Serenity
@SPN_Hawk_twitter
Jan 31 16:29
Hi, does anyone know how to deploy webpack on heroku?
Christopher McCormack
@cmccormack
Jan 31 16:37
@SPN_Hawk_twitter heya are you having an issue deploying it?
Jose Pagan
@josepagan
Jan 31 19:00
hi i am just starting with react. Yes Im displaying quotes from an api. :P the quotes come with some <p> tags, what is the best method to get rid of them or render them?
at the moment (props.content) makes me display some beautiful tags on the screen which I dont want
Kaz Baig
@kbaig
Jan 31 19:01
if you want to render them, you can use dangerouslySetInnerHtml
see docs
Jose Pagan
@josepagan
Jan 31 19:41
thanks @kbaig in the end I just used a stripper funciton
function