Help with my portfolio challenge

Help with my portfolio challenge
0.0 0

#1

Hi there,
I’m having 2 Q about my code,
this is my proj: https://codepen.io/nadav-himmelfarb/pen/rvOLez/

1.Some how my pic went left don’t know Y :slight_smile:2
2. When I make my text bigger he lost his center to the right
3, and I don’t know how to make a space between a one H1 ( or p, h2 etc’)

If anyone could help me It will make my day…
(for couple of min until my next stop point)


#2

The

left: 50%;

on centered class is pushing your text so that it starts at the midpoint on the container. That makes it too far to the right

Instead, try making the .centered class fill up the width of the container (width:100%) and then making it’s text-align centered…


#3

Hi, Iv try it and now the pic and text are in the center, but the text went after pic and still can’t make the pic full width…

If you can had explanation to the solution It would be very helpfull :slight_smile:

tnx!


#4

What you want is the image as the background of the class=“centered”?


#5
  1. you might want to check the
    tag.

No idea what you asking about for number 1 and number 2 questions so can’t help on that two.


#6

what did u ment about the tags?


#7

kinda Id like my pic to be in full width, you can say side to side, the text to be above the pic, in the center…


#8

after fixing couple of things I left with 2 problems…
1.shifting all of the menu to the right
2. and centering the text

someone plz?