Jacøb
@cuber1515
Yeah you got one time to figure it out, one time to twist and one time to shout, one time to think and I say we start now |-/
I'm trying to test something with parameters
So I made 2 headers 1st one with the the id="test1" and the second one with the id="test2", then undernea
HTML, CSS, JS
OldWizard209 In the onclick function, you have to pass in the parameter as a string:
change the color of Test 1.1
1 year ago
I was wondering how to add a status to my discord bot (python)
repl-anaytics track
Thanks
MrVoo If by custom you mean the kind that has no Playing or whatever prefix, discord doesn't allow bots to do that (I think)2 years ago
Error with a function
So I'm making a small website for practicing JavaScript, it's just a bunch of window history stuff.
The problem is that wheneve
AzureDev onclicick?
when using void to execute javascript, use an self-executing anonomous function like href="void((() => {/code here/})())"
breakdown:
void( // start void
( // start parens
() => { // start arrow function
// function body
} // end arrow function
)() // execute whatever is in the parens, which is a func
) // end void
`2 years ago
DaClock
NOTE: I will update
image
I made this to practice using Canvases and JavaScript. It currently has:
A 12-hour clock
week-day clock
day of the m
HTML, CSS, JS
I was wondering how to add a custom status to my discord bot (python)
Thanks
ch1ck3n client.on("ready", () =>{
console.log(Logged in as ${client.user.tag}!);
client.user.setPresence({
status: "online", //You can show online, idle....
game: {
name: "Using !help", //The message shown
type: "STREAMING" //PLAYING: WATCHING: LISTENING: STREAMING:
}
});
});
oh wait just noticed you wanted python
sry2 years ago
Error with a function
So I'm making a small website for practicing JavaScript, it's just a bunch of window history stuff.
The problem is that wheneve
Coder100 You forgot to define i so it became a global variable.
Here is the correct code for line 12
for (let i = 0; i = 5; i ++)
`2 years ago
Really simple animation joke about The Hunger Games.
Well yeah that's what it is. I made a joke and though I should make an animation about it, but si
HTML, CSS, JS
Discord bot template
This is the program for testing 123. You can fork it so that you can see how the code behind it works.
To get a better understand
Python
Happy Birthday Card Template
WARNING: Do not judge the bad CSS.
Well um...yeah it's a birthday card you can change anything you want(name, img, ect.)
HTML, CSS, JS
I need help
So I'm not that great at JS, but I can do simple things like:
function demo() {
document.getElementById("demo").style.color = "blue";
}
ShluffyMonster try:
`var demoId = document.getElementById("demo");
function demo(){
demoId.style.color = "blue";
demoId.style.backgroundColor = "black";
}`
I haven't tested this and don't have a place to test this, but it may work2 years ago
SixBeeps Full context is needed. If this is the entire JS file:
1.) You didn't put a closing bracket to close demo()
2.) The third line shouldn't have a normal colon at the end, just a semicolon if wanted
3.) You can stick the result of document.getElementById("demo") into a variable and use that instead of calling it twice.2 years ago
Scrap the Web (ids, classes, and links)
I made this for @XCode101's Weekly Challenge.
I used @GarethDwyer1's Beginner web scraping with Python and Re
Python
Random Number Generator
I made this a while back for practice but I guess I'll share.
Instructions:
The instructions are in the number generator
image
HTML, CSS, JS
Some issue with an HTML element not showing up
So I'm working on a website; right now I'm kind of just working on setting up the pages and stuff (thou
HTML, CSS, JS
CosmicBear Put the code for the button just above the part that says You will probably be able to teach yourself this but if you can't you can use this. but below the actual navbar.2 years ago
It's about computer animation or graphics (all I know is that computer animation is a type of computer graphics...I think).
But anyway my question is
Coder100 well
that is a really really general question
the thing is
if you were making a video game
you would have access to computer animation and graphics
that would literally be what you would be coding to change in a way
anyways
I would start with unity
https://unity.com/2 years ago
My Home Page
I've seen much better home pages but whatever this is mine.
Hope you like it
HTML, CSS, JS
EdwardBentler Wow, amazing page! I'm a fan of cubing, coding, and magic too, also, my best time for 3x3 is about 25 seconds, but my average is prob 35. My hardest cube (by rating) is the Megaminx, but I agree that the ghost cube is the hardest.2 years ago
How to make comments
So I'm trying to figure out how to make a website where on the bottom you can leave a comment (or probably a whole other page on
Ima show you some magic with C
Along with being a coder I am also a magician (plus much more) so I thought it'd be cool to code a magic trick. Here it
C#
Bunnytoes I know this one. Also great job :D you are learning fast
also I made a new project on our team2 years ago
tankerguy1917 Nice. I like how all of the questions have equally bad/good outcomes, if that makes sense. Also, I too have trouble naming things.2 years ago
C# Calculator
This is literally probably the most un unique thing I could've made because everyone makes a calculator, but I wanted to for practice so
C#
How do I get out of Education mode?
I honestly don't even know how I got put into it in the first place but now I am stuck and can't do things like co
XunPeterson Thank you for such valuable information. It is very important for me. There are a lot of different plugins and programs at the moment that helps in learning and this is very useful. I use several sites that help me in my learning process. For example, I want to share with you a site https://writix.co.uk/plagiarism-checker where you can find a quality plagiarism checker to help you while writing your academic papers.1 year ago
OldWizard209 If you are under 13, you will stay in Education Mode. If you are not. then well, if you are in an education team, then you have to leave from there I guess. Or maybe check you settings.2 years ago