Jump to content

Controversial Coding Stuff  

10 members have voted

  1. 1. What is your preferred method of making text bold in HTML?

    • strong tags (it doesn't let me type the actual tag symbols)
    • b tags
    • font-weight: bold;
    • Something else?


Recommended Posts

Posted
55 minutes ago, KaladinsSenseOfHumourSpren said:

image.png.105e2a35178364d67aa28fa30fa6f676.png

not impossible, that's how it usually is :3

2 minutes ago, Fizz9 said:

image.thumb.png.0738b08c8e62399a3c0469c137e07232.png

BLASHPHEMY!!!

Posted
Just now, KaladinsSenseOfHumourSpren said:

Not for me, it isn't

This is the first time

Though I'm working on it

I do this sometimes, when I'm making really small things.

i have a... library, of sorts, that makes my site structure/template for me.

(not AI lol)

Posted
1 minute ago, KaladinsSenseOfHumourSpren said:

Ah

I usually create a new colour scheme for everything I make, sooo....

well i have it automatically make the color scheme based on my input of colors

plus generate all the dozens of util classes

also i have a builtin cas minimizer

that i made

Posted (edited)
16 minutes ago, Usseewa said:

well i have it automatically make the color scheme based on my input of colors

plus generate all the dozens of util classes

also i have a builtin cas minimizer

that i made

Ah

Well what I'm making is a game, and it still has more CSS than JS...

Though I'll be fixing that soon, as soon as I implement chemical reactions.

And by soon I mean tomorrow, it's almost 10:30 PM

Edited by KaladinsSenseOfHumourSpren
Posted
3 hours ago, KaladinsSenseOfHumourSpren said:

Ah

Well what I'm making is a game, and it still has more CSS than JS...

Though I'll be fixing that soon, as soon as I implement chemical reactions.

And by soon I mean tomorrow, it's almost 10:30 PM

Lol fair fair

I'm gonna try to make a Minesweeper bot, for no reason ¯\_(ツ)_/¯

(except fun)

DON'T GIVE ME HINTS LOL

Posted
3 hours ago, Ink and Embers said:

I want to learn to code; do you have any recommendations for websites to learn from?

Khan Academy is good at basics.

Posted

I made a simple chase game on p5js, and I was wondering if anyone would want to suggest improvements. 

Spoiler

function setup() {
  createCanvas(400,400);
}
let smileX=200;
let smileY=200;
let hunterX=200;
let hunterY=1000;
let hunterSpeed=6;
let hunterTracking=1;
function draw() {
  background(255);
  strokeWeight(1.5);
  stroke(100,200,100);
  if (keyIsDown(LEFT_ARROW) && smileX>10) {
    smileX-=10;
    hunterX-=hunterTracking;
  } 
  if (keyIsDown(RIGHT_ARROW) && smileX<390) {
    smileX+=10;
    hunterX+=hunterTracking;
  } 
  if (keyIsDown(UP_ARROW) && smileY>20) {
    smileY-=10;
    hunterY-=hunterTracking;
  } 
  if (keyIsDown(DOWN_ARROW) && smileY<390) {
    smileY+=10;
    hunterY+=hunterTracking;
  }
  point(smileX, smileY);
  line(smileX-5,smileY-15,smileX-5,smileY-10);
  line(smileX+5,smileY-15,smileX+5,smileY-10);
  noFill();
  arc(smileX,smileY-5,15,5,TWO_PI,PI);
  fill(255,0,0)
  stroke(255,125,125)
  strokeWeight(3)
  circle(hunterX,hunterY,20);
  if(hunterX>smileX){
    hunterX-=hunterSpeed;
  }
  if (hunterX<smileX) {
    hunterX+=hunterSpeed;
  }
  if (hunterY<smileY) {
    hunterY+=hunterSpeed;
  }
  if (hunterY>smileY) {
    hunterY-=hunterSpeed;
  }
}
 

 

Posted
4 hours ago, Ink and Embers said:

I want to learn to code; do you have any recommendations for websites to learn from?

W3Schools too.. but more when you already kinda know stuff and are looking for info on how to do something you already know. If that makes sense.

To be honest, Scratch might be useful too lol 😂

(Or any of the other websites that are similar)

It uses drag-and-drop block coding (so, not a lot of typing), but teaches you a fair amount of fundamental Computer Science/Programming language concepts. Just.. be aware that there is a large social/community aspect (which you don't necessarily have to engage in at all), but may be distracting eventually, to the point where you find yourself spending more time chatting/commenting than coding. But yeah.

I didn't use Khan Academy much.. but from what I did do, it was pretty good I think.

 

I'm excited that you want to learn coding :3

Posted (edited)
11 hours ago, Ink and Embers said:

I want to learn to code; do you have any recommendations for websites to learn from?

Well, KA is good, but when I did it (like 6 years ago) it was kind of outdated

I recommend w3schools, if you're fine with just reading articles

6 hours ago, Usseewa said:

Just.. be aware that there is a large social/community aspect (which you don't necessarily have to engage in at all), but may be distracting eventually, to the point where you find yourself spending more time chatting/commenting than coding. But yeah.

That was me on KA...

EDIT:

image.png.1397949bf60adba5a5c77487edc8be83.png

I'm having to add like an extra twenty lines to work around this 😭

Edited by KaladinsSenseOfHumourSpren
Posted
3 hours ago, KaladinsSenseOfHumourSpren said:

Well, KA is good, but when I did it (like 6 years ago) it was kind of outdated

I recommend w3schools, if you're fine with just reading articles

That was me on KA...

EDIT:

image.png.1397949bf60adba5a5c77487edc8be83.png

I'm having to add like an extra twenty lines to work around this 😭

wait cant u just do

console.log(x==[ ])?

if not,

newX = (x == [ ])
console.log(newX)

Posted
6 hours ago, KaladinsSenseOfHumourSpren said:

They all return false 😭

x is a list?

trying to see if it's empty?

try checking if the length is 0

if(x.length == 0)

 

also make sure the list is actually empty, ya know?

Posted
1 minute ago, Usseewa said:

x is a list?

trying to see if it's empty?

Yup

2 minutes ago, Usseewa said:

if(x.length == 0)

🤦‍♂️

How did I not think of that 😭

Anyways too late now I just threw in a try statement

The logic is way easier that way anyways, I'd just spent like 15 minutes trying to save two lines

Posted
2 minutes ago, KaladinsSenseOfHumourSpren said:

Yup

🤦‍♂️

How did I not think of that 😭

Anyways too late now I just threw in a try statement

The logic is way easier that way anyways, I'd just spent like 15 minutes trying to save two lines

lolll, you *threw* in a try statement

(throwing exceptions)

 

also it's not too late how could it be

Posted
Just now, Usseewa said:

lolll, you *threw* in a try statement

(throwing exceptions)

UVYzqQB.gif

1 minute ago, Usseewa said:

also it's not too late how could it be

I'd have to rewrite 5 lines and add 5 more, which I don't feel like doing

I have explosions to implement

Posted
Just now, KaladinsSenseOfHumourSpren said:

UVYzqQB.gif

I'd have to rewrite 5 lines and add 5 more, which I don't feel like doing

I have explosions to implement

fun

are you using GitHub

never did i realize how useful and addicting it can be

(not asking for your github btw)

Posted
1 minute ago, KaladinsSenseOfHumourSpren said:

Not right now, I only use it for hosting

I actually write everything in VSC

i use vsc too, but i can use github too lol

Posted

GUYS HELP I TRIED TO MAKE CONNECT 4 IN SCRATCH AND THEN DECIDED ONLINE MULTIPLAYER WOULD BE A GOOD IDEA

WHAT WAS I ON, PLEASE HELP ME I AM TRAPPED

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...