Ngl I think I finished my previous 100 days of code, I might need to start the clock again! Stopping by to say I'm getting my butt kicked by IDLE just bc I have experience in other IDEs & languages, & I'm not using saving files as a crutch yet, I'm just raw dogging it out here in the shell... End me! I miss emmett so bad LMAO.
[ Screenshot description: A python IDLE screen. Code in the Idle reads: SyntaxError: unexpected indent; age = 12; if age == 10: print("What do you call an unhappy cranberry?"); print("A blueberry!"); elseif age == 11: SyntaxError: invalid syntax; elif age == 11: SyntaxError: invalid syntax; if age == 10: print("You are ten!)"; elif age == 11: SyntaxError: '(' was never closed; if age == 10: print("You are 10"); elif age == 11:
print("you are 11"); elif age == 12: print("you are 12"); elif age == 13:
print("you are 13"); else: print("huh?"); you are 12 /end description ]
Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
✓ Live Streaming✓ Interactive Chat✓ Private Shows✓ HD Quality
Anya is LIVE right now
FREE
Free to watch • No registration required • HD streaming
me: i'm gonna restart my javascript project for the literal 10th and final time!
also me: doing everything wrong like that?
please send help I forgot how much setup webpack takes. i jumped to page like 5 in the Setup... I NEED PAGE 1.. ITS BEEN SO LONG SINCE PAGE 1 FOLKS...
Update:
It’s 1 day later & I’m feeling much better!!! I have my webpack pages set up the way they were with previous attempts. Here is hoping! THAT I CAN DO THIS THIS TIME!
Heyyy late to the party as I’m already on Day 53 and have created many posts about it, but be sure to follow my #100 days of code, #the odin project, or #kris codes tags for updates on my coding journey to become a FullStack Web Developer!!
Thanks for reading, bye!
The Odin Project
Self-paced learning (80+ hours & climbing)
Github Repos & Hands-on terminal work
Foundations Completed May 2023
Ruby before RoR Started June 2023
Update: Life Change Events have meant that I am pursuing the JS track for the time being, though I was already 20% through Ruby! Official Days of Code updates may stop but progress and learning never do!
Anya is live and ready to show you everything. Watch her strip, dance, and perform exclusive shows just for you. Interact in real-time and make your fantasies come true.
✓ Live Streaming✓ Interactive Chat✓ Private Shows✓ HD Quality
Anya is LIVE right now
FREE
Free to watch • No registration required • HD streaming
function getComputerChoice() {
const random = Math.floor(Math.random() * choices.length);
let computerChoice = (random, choices[random]);
if(playerChoice !== "None") {
console.log(Computer wrote ${computerChoice});
results.append(p);
return computerChoice;
} else {
computerChoice = "No Survivors";
}
}
// PLAYER CHOICE NEW SECTION START
rock.addEventListener('mousedown', function (e) {
let result = e.target.textContent.toLowerCase();
playerChoice = result;
});
paper.addEventListener('click', function (e) {
let result = e.target.textContent.toLowerCase();
playerChoice = result;
});
scissors.addEventListener('click', function (e) {
let result = e.target.textContent.toLowerCase();
playerChoice = result;
});
function getPlayerChoice() {if (playerChoice) { console.log(`Player wrote ${playerChoice}`); results.append(p); return playerChoice; } else { console.log("Please make a selection"); playerChoice = "None"; }
};
function playRound(playerChoice,computerChoice) {if (computerChoice && playerChoice) { results.append(p.textContent = `Finally! Computer wrote ${computerChoice}`); results.append(p.textContent = `Finally! Player wrote ${playerChoice}`);
} else {
results.append(p.textContent = "Please make a selection.");
}switch (true) { case (playerChoice && computerChoice && (playerChoice === computerChoice)) : console.log("tie");
//icky global variables bc baby's first program
let roundCount = 0;
let computerCount = 0;
let playerCount = 0;
const rock = document.querySelector(".rock");
const paper = document.querySelector(".paper");
const scissors = document.querySelector(".scissors");
const done = document.querySelector(".done");
const results = document.getElementById('results');
let playerSpace = document.createElement("p");
let computerSpace = document.createElement("p");
let errorMessage = document.createElement("p");
let roundWinner = document.createElement("p");
hmmm the roundcount does console logs but that's it! make a new section ok? ok
//new new script.js
//icky global variables bc baby's first program
let roundCount = 1;
let computerCount = 0;
let playerCount = 0;
const rock = document.querySelector(".rock");
const paper = document.querySelector(".paper");
const scissors = document.querySelector(".scissors");
const done = document.querySelector(".done");
const results = document.getElementById('results');
let playerSpace = document.createElement("p");
let computerSpace = document.createElement("p");
let errorMessage = document.createElement("p");
let roundWinner = document.createElement("p");
let roundCounter = document.createElement("p");
function getComputerChoice() {
const random = Math.floor(Math.random() * choices.length);
let computerChoice = (random, choices[random]);
if(playerChoice !== "None") {
console.log(Computer wrote ${computerChoice});
// results.append(computerSpace);
computerSpace.textContent = Computer wrote ${computerChoice};
return computerChoice;
} else {
computerChoice = "No Survivors";
}
}
// PLAYER CHOICE NEW SECTION START
rock.addEventListener('mousedown', function (e) {
let result = e.target.textContent.toLowerCase();
playerChoice = result;
});
paper.addEventListener('click', function (e) {
let result = e.target.textContent.toLowerCase();
playerChoice = result;
});
scissors.addEventListener('click', function (e) {
let result = e.target.textContent.toLowerCase();
playerChoice = result;
});
function getPlayerChoice() {
if (playerChoice) {
console.log(Player wrote ${playerChoice});
// results.append(playerSpace);
playerSpace.textContent = Player wrote ${playerChoice};
return playerChoice;
} else {
console.log("Please make a selection");
playerChoice = "None";
}
};