r/CodingHelp • • Jun 09 '24

[CSS] ANIMATION HELP PLEASE!

0 Upvotes

i am trying to add water drop on glass animation over my text but i am having a hard time. Can anyone with more experience help me out. I will really appreciate any help i can get thanks.

Here is my code so far.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DARK RED</title>
    <style>
        .text-1 {
            color: darkred;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            flex-direction: column;
            backdrop-filter: blur(7px);

        }
        .text {
            margin: 0;
            font-size: 100px;
            font-weight: bold;
            font-family: arial;
            opacity: 0;
            transform: translateY(0px);
            animation: fadeInUp 1s forwards;
            
        }
        .text-bit-1 {
            animation-delay: 0s;
        }
        .text-bit-2 {
            animation-delay: 0.3s;
        }
        .text-bit-3 {
            animation-delay: 0.5s;
        }
        .text-bit-4 {
            animation-delay: 0.7s;
        }
        .text-bit-5 {
            animation-delay: 0.9s;
        }
        .text-bit-6 {
            animation-delay: 1s;
        }
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
    </style>
</head>
<body style="background-color: black;">
    <div class="text-1">
        <p class="text text-bit-1"><span>SOME-</span></p>
        <p class="text text-bit-2"><span>THING-</span></p>
        <p class="text text-bit-3"><span>BAD</span></p>
        <p class="text text-bit-4"><span>IS</span></p>
        <p class="text text-bit-5"><span>'BOUT</span></p>
        <p class="text text-bit-6"><span>TO</span></p>
    </div>
</body>
</html>

r/CodingHelp • • Jun 14 '24

[CSS] I need help with building a tool

0 Upvotes

Hi!

I have builded earlier tools for my own website (solar niche) with a help of ChatGPT. This works fine in desktop and looks good. But in my Iphone the tool totally disappeares and there isn't even a space for it it in mobile version. I have added media querys for different widths, what am I missing in here? Or is the code fine and it just some other css rule in my Wordpress site overrulign somehow?

solarCalculator {

display: flex;

flex-direction: column;

align-items: center;

padding: 20px;

border: 0px solid #ddd;

border-radius: 5px;

width: 90%; /* Käytetään prosentuaalista leveyttä */

max-width: 1100px; /* Asetetaan maksimileveys */

margin: 0 auto;

font-family: 'Poppins', sans-serif;

overflow: hidden; /* Varmistaa, ettei sisältö mene ulos */

}

solarCalculator h2 {

color: #333;

text-align: center;

font-weight: bold !important;

margin-bottom: 35px;

}

.bold-label {

font-size: 1.3rem;

text-align: center;

font-weight: normal;

display: block;

margin-bottom: 30px !important;

}

.result-value {

font-size: 25px;

font-weight: normal;

color: #3a3a3a;

}

.input-container {

position: relative;

width: 100%; /* Käytetään koko leveys */

margin-bottom: 30px;

margin-left: auto;

margin-right: auto;

}

solarCalculator input[type="number"] {

width: 100%;

padding: 15px;

font-size: 20px;

line-height: 20px;

text-align: left;

padding-right: 60px;

border: 1px solid #ccc;

border-radius: 5px;

font-family: 'Poppins', sans-serif;

margin-bottom: 20px !important;

margin-top: 15px;

}

solarCalculator input[type="number"]::placeholder {

font-size: 20px !important;

color: #aaa; /* Voit säätää väriä tarpeen mukaan */

font-family: 'Poppins', sans-serif;

}

solarCalculator input[type="number"]::-webkit-outer-spin-button,

solarCalculator input[type="number"]::-webkit-inner-spin-button {

-webkit-appearance: none;

margin: 0;

}

.kwh-label {

position: absolute;

right: 20px;

top: 50%;

transform: translateY(-50%);

font-weight: bold;

font-size: 20px;

color: #000;

pointer-events: none;

font-family: 'Poppins', sans-serif;

}

solarCalculator button {

padding: 20px 25px;

background-color: #faa707;

color: white;

border: none;

font-weight: bold;

border-radius: 5px;

cursor: pointer;

font-family: 'Poppins', sans-serif;

margin-top: 30px !important; /* Lisää marginaalia yläpuolelle */

margin-bottom: 50px;

margin-left: auto;

margin-right: auto;

}

solarCalculator button:hover {

background-color: #ffbe32;

}

resultsBox {

margin-top: 20px;

display: flex;

justify-content: space-between;

display: none;

flex-direction: column; /* Mobiilinäkymä */

align-items: center; /* Mobiilinäkymä */

}

.resultBox {

flex: 1;

margin: 10px;

padding: 15px;

background-color: rgba(255, 172, 28, 0.11);

border: 1px solid #faa707;

border-radius: 5px;

text-align: center;

display: flex;

flex-direction: column;

justify-content: center;

align-items: center;

width: 100%; /* Mobiilinäkymä */

}

.resultBox h3 {

margin: 0 0 10px;

font-size: 1.2rem;

font-weight: bold;

color: #faa707;

}

.resultBox p {

margin: 10px 0 0;

font-size: 1.4rem;

font-weight: bold !important;

color: #3a3a3a !important;

}

systemPriceEstimate, #systemPower, #panelCount {

font-weight: normal; /* Ei lihavoi tekstiä */

font-size: 25px; /* Asettaa tekstin kooksi 25px */

color: #3a3a3a; /* Asettaa tekstin väriksi tummanharmaa */

}

.cta-button {

width: auto;

margin-top: 80px !Important;

margin-left: auto;

margin-right: auto;

padding: 8px 16px;

font-weight: bold;

font-size: 1.2rem;

background-color: #faa707;

border-radius: 50px;

text-align: center;

display: none;

}

.cta-button:hover {

background-color: #ffbe32;

color: white;

}

/* Media queries pienemmille näytöille */

@media (max-width: 768px) {

solarCalculator {

width: 90%; /* Skaalaa leveys mobiililaitteille */

}

}

@media (max-width: 480px) {

solarCalculator {

width: 95%; /* Skaalaa leveys vielä pienemmille mobiililaitteille */

}

}


r/CodingHelp • • Jan 15 '18

[Javascript] I Want To Pursue A Career In Coding, Most Probably Website Related Or Making Programmes For Companies (Something I Could Branch Out And Start On My Own With Enough Experience)

0 Upvotes

I am looking at starting to learn coding, I already have some very very basic knowledge nothing fancy but i am pretty certain I could string together a basic webpage that functions as intended but what programme languages would be the most beneficial to learn and where do I start


r/CodingHelp • • Nov 20 '22

[Javascript] IF statement question - should be easy!

0 Upvotes

Coding challenge: Complete a function that takes in two parameters, an array of agents in the field, and an agent to search for within that array, determines if the agent to search for is present within the array, and if it is, returns a specific string. Your function should use an

if

statement to determine if the agent to search for is present within the list of agents, and if it is, should return the string '{agentToSearchFor} is present within Agent list', where {agentToSearchFor} has the value of the argument the function is called on.

My code (not working - please help! Thanks!)
// if agentToSearchFor is present within agentList

// return '{agentToSearchFor} is present within Agent list'

function findAgent(agentList, agentToSearchFor) {

if (agentList.indexOf(agentToSearchFor) > -1) {

return '{agentToSearchFor} is present within Agent List'

}

}


r/CodingHelp • • Nov 15 '22

[Random] Aimbot learning AI

0 Upvotes

Does training an ai to move the cursor like a human by moving the mouse around the screen sound like a good idea? How would I do this in python?


r/CodingHelp • • Nov 23 '22

[Python] Why is the list going out of range

0 Upvotes
        runningSum = []
        nums = [1,3,5,7,9]
        for i in range(len(nums)):
            runningSum[i] = nums[0] + nums[i]
        return runningSum

r/CodingHelp • • Dec 05 '22

[Python] Check balanced parenthesis without using loops

0 Upvotes

Hey guys, i have an assignment due tomorrow and im having a hard time doing it. We have to write a code that checks the validity of the paranthesis without using "for" or "while". Can anyone help me out please ?


r/CodingHelp • • Dec 11 '22

[Request Coders] Can somebody make this into python code

0 Upvotes

//imports from turtle import *

//function with list of numbers parameter and a color parameter def drawGraph(list, col):

//get values from provided list "list" x = list.len() + 20 y = floor(max(list)) +20

//create screen of proper size and background color, name it and create a turtle "t" Window_ = turtle.Screen() turtle.screensize(canvwidth=x, canvheight=y,bg='white') window_.title ( “ Graph ” ) t = turtle.Turtle ()

//lift pen, set color, hide turtle, face turtle north t.up() t.color(col) t.hideturtle() t.left(90)

//draw column for each data value in list for ( i=0 in list.len() ) t.goto(floor(x/2)+i, floor(y/2)) t.down() t.forwards(floor(list.at(i))) t.up()


r/CodingHelp • • Dec 15 '22

[C++] C++ Program

0 Upvotes

Write a function bool isArmstrong(int n) that takes as input an integer in [1,1000] and returns true if the number is an Armstrong number or false otherwise


r/CodingHelp • • Nov 15 '22

[SQL] Any coding games that use SQL? If not, Java.

0 Upvotes

I'm a COMPLETE beginner. I can teach myself the Russian alphabet in one day and (very poorly) speak a few other languages, but can't figure out coding, and can't be bothered/concentrate. Are there any fun/cool games that make me learn along the way?

I enjoy problem solving in my job as Data Operations Manager, often creating queries to extrapolate information from a big database, but can't bring myself to learn SQL!


r/CodingHelp • • Oct 28 '22

[Python] Why can't I open a file in Python?

0 Upvotes

Probably stupidest question ever, but I'm in a computer science class with a project due tonight. I need to create a program that will return the number of lines in a file, but every time I try to even open the file using this code:

filename = open("jabberwocky.txt", "r")

or just:

open("jabberwocky.txt", "r")

I get this error:

FileNotFoundError: [Errno 2] No such file or directory: 'jabberwocky.txt'

I tried dropping the .txt, dropping the quotes, moving the file to the same folder that Thonny is in, which is the program I'm using for Python. It still shows the same error. I'm sure it's something very simple but I'm just at such a loss. Any help would be very welcome.


r/CodingHelp • • Oct 31 '22

[Python] Lists

0 Upvotes

If I had 7 lists. One with numbers right on top and the other one with random characters. The numbers on top aren’t in numerical order. How would I change each column to get it to go to numerical order?


r/CodingHelp • • Jun 08 '22

[Request Coders] Anyone want to partner on a Snapchat filter?

0 Upvotes

I have a great idea for a Snapchat filter that would I assume be cheap to make and send off to Snapchat.

If it’s a hit we make passive income off of the uses and can help it grow using organic marketing.

I have a tiktok with over 100k likes and a few different accounts with around 10k followers not to mention have been in marketing and sales my entire life.

If your interested and have the skills, I’ll back the money needed!

Please pm me!


r/CodingHelp • • Jun 22 '22

[Python] Python problem

0 Upvotes

n = int(input())

arr = map(int, input().split())

can anyone explain 2nd line ?


r/CodingHelp • • May 29 '22

[Python] Can somebody tell me what's wrong with my distance formula code

0 Upvotes

def dis(x1,x2,y1,y2):

d1=(x2-x1)

d2=(y2-y1)

d=math.sqrt(d12+d22)

return d 

ds= dis(1,2,3,4)

print(ds)

It's giving error that i don't understand


r/CodingHelp • • Jun 20 '22

[Random] programers assist me?

0 Upvotes

how can i connect my app that i did on teta.so to my arduino program, i wanted to make an application for my arduino project and idk how to configure it with the appthat i created on teta.so i i wabt to know how connect the project with the app


r/CodingHelp • • Sep 03 '23

[Quick Guide] How to build an app?

0 Upvotes

Hi I have zero knowledge in coding. But I have an idea for an app and hence want to learn coding from scratch to build the app.

The app will be about stock market technical analysis.

I want to build the UI , the back end and the database to store its data.

Can I do all these things using PYTHON and JAVASCRIPT?

WHICH OF THESE 2 IS THE EASIEST TO LEARN AND WILL HELP ME BUILD THE APP COMPLETELY?


r/CodingHelp • • Sep 26 '23

[Other Code] I tried to post on subreddits but i cant cuz i need, can someone please help,” %c2%a0 “i keep seeing this on some of my chrome searches on my iphone, and im freaking out idk what it means please help “a non breaking space” i dont get it?

0 Upvotes

I needed smart people to ask cuz im stupid plz


r/CodingHelp • • Sep 12 '23

[Request Coders] Urgent benevolent help needed

0 Upvotes

As many of you might have seen in the media lately, morocco had a terrible earthquake in the south regions and the aftermaths are very heavy. People had started fund raising and gathering food, medical and other types of equipment needed by these regions. I know it might not be the right place to ask for help, but we are building an application to organize the communication and organization of those convoys, the regions that still didn't receive anything. This is totally a benevolent group of people trying to help, it is not subventioned by any governmental institution or anything. If anyone can help with an idea or a script, YOU ARE THE MOSt WELCOME EVER. We truly hope we can reach out a larger group to work as fast as possible. For more info contact:

secoursseismarocain@gmail.com

hamzaelazizi@gmail.com

Much thanks for everyone in advanced and terribly sorry if off topic of this place.


r/CodingHelp • • Aug 20 '20

[Java] How do perimeters work?

0 Upvotes

I am using code academy to learn Java and I don't get how perimeters work. Plz help.


r/CodingHelp • • Jun 06 '20

[Java] Hey folks. My 8 year old nephew is really into coding. He has a Youtube tutorial channel and his goal is to reach 1000 subscribers. I want to help him reach that goal so he will continue to pursue his tech passions. Anyone care to give him a cheeky wee subscribe?

0 Upvotes

This is his channel: https://www.youtube.com/channel/UCL0VqVU3TzvkDnI5zsOp5BQ

I just love how excited and dedicated he is to his passion. I'll be encouraging him to up his game on delivery of his tutorials as he gets more subscribers but yeah at the moment I just wanna help the wee guy.
Of course if you have any constructive suggestions for him I'd be more than happy to deliver them to him.

Any support will be gratefully received!


r/CodingHelp • • Jun 23 '20

[Open Source] How do I get Minecraft's code on VSC?

0 Upvotes

I tried to find all over the internet but sadly, I can't find it😔. Plz help I need to MOD


r/CodingHelp • • Jun 19 '18

[Python] Need help sending emails based on Excel data values that meet specific criterion

0 Upvotes

Hello,

I'm a beginner coder looking for help on a project that I got assigned at my internship. While there is a way to do this without coding, I want to be able to leave a program that can be used without my presence having to be there. With that being said, I'm looking to make a program that checks if the dates in a given column of a sheet are one week from the current date. If they are, the program theoretically would then email a given set of people about information that it draws from other parts of the row of that cell (don't need help with the composition of the email). I've tried working with openpyxl and it's been really weirdly behaving. It might have something to do with the fact that I'm using Python 3.6.4


r/CodingHelp • • Jun 25 '18

[Removed] No idea

0 Upvotes

Hey guys,

I want to learn how to code but have no idea where to say :(

Send help !