Tribute Page: Daniel Kahneman. Feedback/criticism welcomed

Tribute Page: Daniel Kahneman. Feedback/criticism welcomed
0

#1

Hello fellow coders,

I just completed v1 of my tribute page and I’d like to know what you think, good or bad.

One thing I want to change is centering the bootstrap grids (picture and bullets) across screen sizes, if anyone can point me in that direction I would very much appreciate that!


#2

I was able to center the picture responsively in the bootstrap grid by using class=“img-responsive center-block” on the img element.


#3

Hi
Css linter:
Unknown property ‘border-size’.

.box {
  border-style: hidden;
  border-size: 1px;
  font-size: 22px;
  padding: 64px 0px 65px 0px;

MDN documentation:

HTML:
The ‘align’ attribute is no longer valid on the <img> element and should not be used.

<div class="col-xs-12 col-md-6">        <img class="img-rounded img-responsive center-block" src="https://www.socialpsychology.org/thumb/4112/0/md.jpg" alt="Daniel Kahneman" align="middle"></img>

MDN documentation:

Cheers and happy coding :slight_smile:


#4

Thanks! I searched and found that the correct css command for ‘border-size’ is ‘border width’.

I had previously found the correct code and changed my code to use ‘img-responsive’ to center my image.


#5

Don’t use <br> to create vertical spacing. Those are paragraphs, so put each of them between <p>...</p>.
Also, there’s no </br> in HTML


#6

Thanks, I have edited my page and looked into br tags to understand their use better.