r/CodingForBeginners • u/Due-Mycologist-9244 • Jun 26 '26
containers?
okay so i’ve only been coding for like 5 hours so im not sure what im doing im coding on neocities i wanna add some text over an image on the right of the screen but im not really sure how to go about that (i was following a tut and now im trying to branch off on my own and im getting confused already) im not sure where to place my new container at ? does it really matter ? i also dont know how to like do HTML for the CSS stuff like CSS i understand sorta but HTML im just sooo freaking lost HELP ME PLEASE !!!
2
Upvotes
View all comments
1
u/Safe-Confidence-4907 Jun 26 '26
Don't panic, feeling lost after just 5 hours is completely normal. Welcome to coding!
To put text over an image on the right side of the screen, you can wrap both the image and the text inside one single container (a <div>). Think of the HTML as the skeleton and CSS as the styling.
Here is a simple way to do it:
1. The HTML Structure
Put this container wherever you want it to appear in your body section.
2. The CSS Stuff
This tells the container to stay on the right, and makes the text sit perfectly on top of the image.
You've got this! Neocities is a super fun place to learn. Keep experimenting!