dylanlovestocode
@dylanlovestocode
0
0
83
4
0
0
Random Stock Image Generator
if you wanna save photo just screenshot it
you can fork this if u want40
1
0
I cant figure out why the audio isnt playing when you load onto the website.
Maybe the onload() function isn't working? Idk..
HTML, CSS, JS
CSharpIsGud The user has to interact with the page before you can play audio, so you have to wait for them to click something first.1 year ago
I set an onLoad alert so that when you go onto the website, it will play music. I work on ipad and website audio doesnt work on ipad so can somebody o
HTML, CSS, JS
1
Science project [(11/2/21) VOLCANOES]Just an essay on how i made a volcano using X,Y
54
0
1
I think my favicon is messed up. I dont remember which line my code for the favicon is. Thx
HTML, CSS, JS
SixBeeps Your favicon works fine. Replit automatically handles the favicon for you, so technically there isn't any line of code in your Repl that sets it.1 year ago
Carnage498 Line 13:
the picture is inside the file "Axolotlpicture.jpeg"
Hope it helps @dylanlovestocode! ~ @Carnage4981 year ago
1
AxolotlAll about axolotl's. :)
9
0
1
0
chrome in pythonThe title says it all.
68
0
0
I want the Socket text to be rgb. Just send me code and where to put it. Thanks!
Node.js
themining72 setInterval(() => {document.getElementById("Title").style.color = "#" + Math.floor(Math.random()*16777215).toString(16);}, 50);
Put this in anywhere in html/script.js. You may adjust the flashing speed by editing the 50 in the final parts of the code, the smaller the faster but may stop for a few seconds from lag.2 years ago
Please provide code so that I can make a button that if you click it, it will show an alert. I only know the code for the alert: 'alert('EXAMPLE')'.
Node.js
JBloves27 That is one part of it, but here would be example code:
index.html
...
...
index.js
function myFunction() {
alert("Hello World!");
};
That should work! (as an example)2 years ago
lsikora So first make another file named "app.js". This will be the command or what will appear when you click the button. Ok, so now lets make the code! First lets write the index.js (or the main code).
`Install`
``
`$('button').click(function () {`
`$.post('/page', {data: 'blah'}, function (data) {`
`console.log(data);`
`});`
`}, 'json');`
``
Ok! Lets do the app.js now! (this is the new file created).
`app.post('/page', function (req, res) {`
`calling.aFunction();`2 years ago
14
Socket.io Chat Nice chat
2.1K
37
14
dylanlovestocode guys chill i was just testing out replit templates
also i have a good version in my profile1 year ago
Edit here: https://replit.com/join/ixccdkzl-indigiz
Im wondering, when you send a message, if u send a link, how do u detect a hyperlink?
Node.js
SixBeeps You could use some RegEx pattern matching for that. You'd find all the URLs using a Regular Expression, then replace them all with tags.2 years ago