oceanfront

oceanfront.neocities.org

166,647 views
298 followers
2,807 updates
0 tips
is anyone else doing hack club? ill have to code for at least 100+ hours to qualify, so please give me some ideas on what i should make next...
3 likes
drinkmoretea's avatar drinkmoretea 3 months ago

shrine for your ideal/favorite pokemon team?

1 like
oh how am i only just coming across your site now... this is so perfect, you're an incredible coder, like im just sitting here admiring all of the little details๐Ÿ˜ญ you are so full of personality i loved peeking around here!
4 likes
oceanfront's avatar oceanfront 3 months ago

im also a little curious as to how you set up your lightbox in your scrapbook section, coding them has always been a pain in the ass so id love to know how you did it ๐Ÿฅน

1 like
andisarchive's avatar andisarchive 3 months ago

hiii, omg that's really sweet! thank you so much! ur site is super cute and i love the color scheme and jellyfish :) !!

2 likes
andisarchive's avatar andisarchive 3 months ago

as for my scrapbook section, i watched a few different youtube vids on it but i'm using html, css, and js, js is the code that actually gets it to work tho. basically i have one hidden div that lives at the bottom of my html that acts as the lightbox, it's invisible by default and it covers the whole screen with a dark background (as seen on mine). (1/2)

1 like
andisarchive's avatar andisarchive 3 months ago

when you click on one of my olaroid cards, js grabs the image and caption from that card and then copies them into the lightbox div, then adds a class called "active" to it which switches it from hidden to visible. i styled it with โ€œposition: fixedโ€ and a โ€œhigh z-indexโ€, mine is at 1000, so it lies on top of everything else on the page, and โ€œdisplay: flexโ€ to center the image in the middle of the screen.

1 like
andisarchive's avatar andisarchive 3 months ago

my centering isnโ€™t perfect but i gave up on caring abt it lol. for closing it, i have a little x button in the corner that, when clicked just removes that "active" class, making it disappear again. i also added a listener so that if you click anywhere on the dark background outside the image, it closes too. the main thing to understand is that there's only ever one lightbox div on the whole page.

1 like
andisarchive's avatar andisarchive 3 months ago

instead of making a new one for every photo, you just keep swapping out what image and caption is inside it each time someone clicks a different card. lmk if this helps!! i tried to explain it thoroughly lol. I can look for the youtube vids i watched, and also feel free to look at my code as well to get a better understanding if you're more of a visual learner!

1 like
oceanfront's avatar oceanfront 3 months ago

omg thank you for such the detailed description!! and YES i thought i understood it but i didnt even realize there was js, i think i missed that line ๐Ÿ˜ญ dont worry about it but if you do find those videos i would love to see them!

1 like
oceanfront's avatar oceanfront 3 months ago

actually no i just figured it out!!!!!!!!

1 like
andisarchive's avatar andisarchive 3 months ago

yayyy!! happy to hear youโ€™ve got it sorted, jus in case you change ur mind the video I watched was by dcode https://youtu.be/dylA5Onz3kI?si=XmjIbRha0WMZJZLK

1 like
andisarchive's avatar andisarchive 3 months ago

I also read a lot of Reddit post and GitHub posts theyโ€™re super helpful

oceanfront's avatar oceanfront 3 months ago

do you know why the lightbox only opens when there's a caption div? that seems to be my main issue, images w/o captions cant open their own lightboxes

andisarchive's avatar andisarchive 3 months ago

hmmm i'm not sure it could be because js is specifically looking for the caption and when it's not there it's viewed as an error? you might want to make sure the listener is on the whole โ€œ.polaroidโ€ card, and when grabbing the caption just add a check like "if a caption exists grab it, if not just leave it blank" so it doesn't break when there's no caption there

just had both of my closest friends tell me they find my favorite movie boring..... ig ill be making a shrine on my site real soon ๐Ÿ’”๐Ÿ’”
7 likes
n-has-a-site's avatar n-has-a-site 3 months ago

That just means its peak bro. My fav movie is an elephant sitting still and i think people will find that boring doesnt mean its less peak though.

1 like
oceanfront's avatar oceanfront 3 months ago

ok so i legitimately thought u meant an elephant standing still and i was like.... ok lets talk..... but i realize that is an actual movie now LOL

1 like
oceanfront's avatar oceanfront 3 months ago

actually this is going on my to watch list

1 like
n-has-a-site's avatar n-has-a-site 3 months ago

@oceanfront ๐Ÿ˜ญ bro, you should watch it its soo good

oceanfront updated their site.
3 months ago
4 likes
oceanfront updated their site.
3 months ago
3 likes
been doing some coding on toyhouse and it sucks๐Ÿคฆโ€โ™‚๏ธ idk how people make things on there
1 like
oceanfront's avatar oceanfront 3 months ago

(its because i HATE bootstrap๐Ÿ‘ฟ

1 like
i just realized you can very clearly see the reflection of my face in one of my photobook photosโ˜ ๏ธ oh well
5 likes
oceanfront updated their site.
4 months ago
4 likes
oceanfront's avatar oceanfront 4 months ago

new journal entry ๐Ÿ˜

3 likes
oceanfront updated their site.
4 months ago
7 likes
oceanfront's avatar oceanfront 4 months ago

if you click on the travel log, ive made my first 'blog post' about some exploration ive been doing

2 likes

Website Stats

Last updated 2 days ago
CreatedSep 5, 2024
Site Traffic Stats

Tags

graphics personal music journaling dramaticalmurder