Neocities.org

LOOK AT MY CAT

lookatmycat.neocities.org

9,840 views
6 followers
227 updates
0 tips
Back after 2 weeks, and decided to add a lot more to the website. New page about my cat, every page now has music, and a revamp of the "WHY WOULD YOU CLICK ON HIM" page to be less eye-bleeding and scary. Happy new years, and thank you all for 1500+ views!
1 like
lookatmycat 1 year ago

(thank you to @thatfigures for helping me with the music!)

1 like
woah whats the code u used to add music? also love the magenta theme (edit: thank you so much!!)
1 like
thatfigures 1 year ago

Hi! I use a single line of code placed in (usually at the bottom away from everything else) that goes like this (without quotations): ' '! The "audio" class hides the controls - I add this in my css, consisting of .audio { display:none;}.

1 like
thatfigures 1 year ago

Seems I can't paste code here due to formatting issues! You can check out the code I use by going to my page and checking its source (crtl+u/right-click and select 'view source'). Scroll down until you get to the code that starts with "video controls autoplay" and copy the whole line. W3school's HTML video autoplay tutorial will explain more!!

1 like
thatfigures 1 year ago

The type attribute at the end of that autoplay code can be changed around depending on your audio source - because my music links are direct .mp3 files from Zophar's Domain/Khinsider I set the type to type=audio/mpeg! Youtube videos typically use the type=video/mp4 codec. Don't forget to hide it! :) And thank you very much for the compliments!! ^^

1 like

Website Stats

Last updated 3 months ago
CreatedNov 30, 2022
Site Traffic Stats

Tags

cats funny humor beginner