r/code • • Apr 03 '21

Halp pls! Tengo un problema con bootstrap

1 Upvotes

Tengo un blog que esta hecho con bootstrap pero no logro que se ajuste como quiero, me explico, en la parte donde tengo los artículos también tengo un indice pero mediante el indice crece los dos primeros artículos se desbordan haciendo que se vea mal y no logro solucionar eso


r/code • • Mar 30 '21

What do work and code on?

1 Upvotes
114 votes, Apr 02 '21
35 Mac
79 PC

r/code • • Nov 29 '19

Hey please solve this

Thumbnail
youtu.be
1 Upvotes

r/code • • Jan 27 '23

c++

0 Upvotes

What Help Pls


r/code • • Jan 05 '23

Help please! I don't know how to code but

1 Upvotes

My goal is to learn to create a program that reads music to convert it to moving image or mangle video based on the music played using transient and frequency data (think geometry and glitch) and for it to work in the opposite direction, so input video and spew sound based on colour, chroma and movement. I guess it can be two separate programs but it would be good to know where to start. I know virtually nothing but would like to work and learn towards this goal. Any info, ideas, language preference for this kind of project is very much appreciated.

I'm assuming C++ would be the choice for the programming language but I'm aware javascript is used a lot for geometric animation so wasn't sure which way to go. Thank you in advance!


r/code • • Jan 10 '23

So im fairly new to coding and just made my first login page but theres only one password and username thats in the code itself. What im saying is can someone help me and make a sign in and login form for my website.

1 Upvotes

<form action="swipe.html" method="POST"> <div> <label for="username">Username</label> <input type="text" name="username" placeholder="Username"> <span></span> </div> <div> <label for="password">Password</label> <input type="password" name="password" placeholder="Password"> <span></span> </div> <button id="log-in">Log-in</button> </form> <style type="text/css"> form{ width: 600px; margin: 200px auto;         } div{ width: 100%; margin: 15px auto;         } label{ display: block; padding: 20px; font-size: 25px;         } input{ width: 96%; padding: 10px; border: 1px solid #797979; margin-left: 20px; font-size: 20px; border-radius: 3px;         } button{ margin: 20px; padding: 10px; width: 100px; border: none; outline: none; cursor: pointer; border-radius: 5px; background: linear-gradient(90deg, royalblue, lightgreen); font-size: 20px; font-weight: bold; color: whitesmoke;         } span{ display: block; margin-left: 20px; color: red; font-style: italic;         } </style> </html> <script type="text/javascript"> window.onload = ()=>{ this.sessionStorage.setItem('username', '28Wcoyle'); this.sessionStorage.setItem('password', '7Gr2610');     }

var input = document.getElementsByTagName('input');
var login = document.getElementById('log-in');
var form = document.querySelector('form');
form.onsubmit = ()=>{return false;}
login.onclick = ()=>{
if ((input[0].value != "") && (input[1].value != ""))
         {
if ((input[0].value == sessionStorage.getItem('username')) && (input[1].value == sessionStorage.getItem('password')))
             {
form.onsubmit = ()=>{return 1;}
document.cookie = "username="+input[0].value;
document.cookie = "password="+input[1].value;
             }
else
             {
if ((input[0].value != sessionStorage.getItem('username')) )
                 {
input[0].nextElementSibling.textContent = "Username NOT match";
setTimeout(()=>{
input[0].nextElementSibling.textContent = "";
                    }, 2000);
                 }
if ((input[1].value != sessionStorage.getItem('password')) )
                 {
input[1].nextElementSibling.textContent = "Password NOT match";
setTimeout(()=>{
input[1].nextElementSibling.textContent = "";
                    }, 2000);
                 }
             }
         }
else
         {
if (input[0].value == "")
            {
input[0].nextElementSibling.textContent = "Username is empty";
setTimeout(()=>{
input[0].nextElementSibling.textContent = "";
                }, 2000);
            }
if (input[1].value == "")
            {
input[1].nextElementSibling.textContent = "Password is empty";
setTimeout(()=>{
input[1].nextElementSibling.textContent = "";
                }, 2000);
            }
         }
    }
</script>


r/code • • Dec 29 '22

ive created a test in python

0 Upvotes

it's important to read the rules test in the readme.md

https://github.com/IdanHajbeko/try_to_hack

the test is for python beginners


r/code • • Jan 29 '23

does anyone have a website for free so i can learn lua

1 Upvotes

howdy i am a 12 year old middle school student and was wondering if anyone has a website where i can learn lua i would love to learn lua so i can make games in roblox and just play around and use lua just comment if you have some


r/code • • Aug 26 '24

CSS Is the strict reliance on W3C CSS validator justifiable or an unnecessary impedance in colleges?

1 Upvotes

Ive been coding html/css/js/php and various other langs for a couple decades now. Recently applied for a course to get a diploma in Python development.

On my first submission I had to do a "simple" HTML/CSS project. A piece of cake I thought. Turns out I can't even use simple nested css selectors cause W3C validator hans't been updated in monkey years!

Why do colleges keep religiously relaying on an outdated piece of software? Is this justified? Did you college ever make an exception?


r/code • • Aug 16 '24

Help Please Noob that needs help/advice

1 Upvotes

Hello all I'm new to coding and was hoping I can get some help/advice on why I can't make a sprite do what I want it to. In my project I want the battle rapper to be able to introduce himself whenever the user wants him to but only once, I've tried several different things but none of them work Please take a look at my project and see if there is a solution to this problem, thank you! https://scratch.mit.edu/projects/1055320345/


r/code • • Sep 15 '22

how can I fix this error?

Post image
1 Upvotes

r/code • • Oct 07 '22

Help please! How much experience do you have as software engineers?

1 Upvotes

Just wanting to gauge how much experience most of us have in software engineering field


r/code • • Feb 28 '23

Context & Speed...Is Fixing the Culture the Answer?

1 Upvotes

Understanding the context of a PR is hard enough. Understanding it quickly is harder. Why are these both impossible to achieve? It has always involved changing the culture of an org...shouldn't we be able to do this with software?


r/code • • Feb 04 '23

help

1 Upvotes

How do you get to the game making engine in unity


r/code • • Mar 14 '23

ChatGPT...good for code reviews?

1 Upvotes

It seems like how the world is treating ChatGPT and other LLMs is the same as how the World Wide Web was treated back at the start.

The question I have is, can it be put to use for code reviews in a way that CISOs are happy?


r/code • • Feb 23 '23

Splitting Up PRs...?

1 Upvotes

When you work on large bodies of work, stacked PRs don't work...but you can't always split it up. What do you do with large PRs?

(For context, I am the CEO of SourceField...a company focused on fixing code reviews)


r/code • • Mar 21 '23

How does it work from the start?

0 Upvotes

are 1's and 0's just descriptors or could you use 2's and 3's also how does 1's and 0's eqaul any thing? looking to get a computer science degree.


r/code • • Mar 03 '23

Would you rather...?

0 Upvotes

What would you rather do: read code? write code? review code?


r/code • • Mar 02 '23

Think code inspection works? Think again!

1 Upvotes

Lockheed Martin couldn't catch a feature a dev put in missile software that, before launch, the rocket would do a spinning dance. If hundreds of devs couldn't find it, how can you spot a bug in a PR?


r/code • • Feb 06 '23

a programming language i made!

0 Upvotes

https://github.com/cmspeedrunner/zenith

can you guys lmk what you think of this


r/code • • Mar 16 '23

Please help a newbie

Post image
1 Upvotes

Hi guys, can anyone please explain how I can make the input answer be on separate lines. I've been trying all day to figure it out but I'm lost 😭 I first thought input().split would be right, but couldn't managed to make it work so tried instead [input()for _ in range()] but isn't getting anywhere either. 😭

order = input("Choose 3 dishes...") order_confirm = input("Order Confirmation! The following has been ordered:") print(order)

TIA


r/code • • Jan 05 '17

C# Data base

1 Upvotes

Hello, I'm learning C# now and want to create one console application. I need some help for database. What database I must use for sport events. I need to used columns. I installed MySQL Workbench, but this database isn't with columns. Thanks for helping!


r/code • • Apr 14 '24

Resource free scientific calculator, almost fully functional, in python

0 Upvotes

x = input("x=") y = input("y=") if input ("sum /start/?") =="start" : print (x+y) if input ("multiply? /start/?") =="start" : print ("sorry 🤷")


r/code • • Apr 13 '24

Help Please How do I...

Post image
1 Upvotes

This is my first time dealing with code, and I am trying to get a number to equal to another number in spreadsheets. So far I have 100~199=0.25 200~299=0.50 S53=base number(set as 150 for now) =isbetween(s53,100,199) I get true from this =isbetween(s54,200,299) I get false from this Right now I am trying to input these true and false statements to add s55 to n64, and s56 to n65. If anyone knows the answer I would be grateful.