can someone please tell me how can I fix the text on the picture? | SoloLearn: Learn to code for FREE!

0

can someone please tell me how can I fix the text on the picture?

Can someone please tell me how to get and. fix the text inside the picture? later i will try to position myself inside picture but idk how to get text on the picture and how to put the pictures horizontaly next to each other so that they are nexxt to each other and not only to margin-left/right with this code it looks how i want with text on picture but i dont think this is a good practice : .choice p { color:white; font-weight: bold; font-size: 20px; padding:0px; /*++++*/ position: relative; top:-150px and this is not good because for other item i will need to change this -150px because it will look different with different text. https://code.sololearn.com/Wa21A5A189a1

1/24/2021 12:17:28 PM

kaspars kaspars

10 Answers

New Answer

+4

Abhay please check code below to see if the crashing has stop. https://code.sololearn.com/W0a21A116a10/?ref=app

+3

Everytime I run your code, sololearn crashes It Also crashes when I navigate to css section.

+3

kaspars kaspars please add a comment to js panel. Any comment will do. I ask because when your code is ran on the sl app it crashes. Adding a comment to the js panel(website) will stop the code from crashing the app.

+2

ODLNT that works fine, ty!

+1

I also cant get smaller padding: for the text, i use .choice p { padding: } i can get only bigger padding and cannot get smaller..

+1

kaspars kaspars something like this? https://code.sololearn.com/WEu8k1llPafY/?ref=app

+1

Get the tag/Id name of the text and make the position absolute while making the position of the image relative

0

So I almost fixed it but no now the text is fckt up and the three pictures is not side toside in full screen. https://code.sololearn.com/Wa21A5A189a1 But still icant make smaller padding for text and the text goes over the picture for middle picture!

0

when i. do like olajide admola. text is words on each other. is skill to make page like this enaugh to get a job as html css and javascript programmer?

0

Hi I did some edits. Let me know what you think. https://code.sololearn.com/WukF4kIoStMX/?ref=app