Can somebody help me out with this assignment?
Code Forum
by Hagrido
3h ago
Hello people, hope everyone's having a great day so far. I got this college assignment due tomorrow but I just can't see anything that can help me no matter how many times I rewatch my professors video... Might have something to do with the fact that she's teaching it in Korean... hahahaha.... Python:Copy to clipboard demian_s = demian.strip() print(demian_s) print() print(f'demian split: {demian_list}') print(f'demian splitlines: {demian_line}') I need to fill in the gap between demian_s = demian.strip()... Read more ..read more
Visit website
How do I scale a lightbox gallery background image?
Code Forum
by Edrol97
8h ago
Hi all, wondering how to scale a lightbox gallery background image. I have this code currently defining the background image CSS:Copy to clipboard .slide-show_containers { position: fixed; z-index: 2000; display: none; top: 0; left: 0; background-image: url(img/background/Frame.png); width: 100%; height: 100%; } Your help is appreciated ..read more
Visit website
Login forms
Code Forum
by VQuaresma
2d ago
Hi, friends. Your help is very important to me. I have my web pages in a protected folder in my server. When someone tries to open any page in that folder an authomatic pop-up form opens to validate the member's login and password. So far so good. This was expected. But how can I have my own login form? I mean, I already have my login form and my member's logins and passwords in a .htpasswd file in a folder outside public_html folder. My problem is how to make my login form work! Thank you... Read more ..read more
Visit website
Trying to pass a styled phrase through "innerHTML"
Code Forum
by thesoundsmith
2d ago
I have a "radio" on my WordPress site to play mp3s. You can see it in action here: The DashRadio page When you select a different radoi "channel," like Blues or Jazz, the text changes. The words are correct but the sytle does not carry through. I want the phrase "DashRadio" to be styled as follows: CSS:Copy to clipboard *.prad{font-style:italic;font-weight:bold; font-family: Georgia,'Times New Roman', Times,serif;color:#6A3ED0} It is sometimes invoked in this call: Code:Copy to clipboard <script> function... Read more ..read more
Visit website
Problem with code
Code Forum
by camilin05
2d ago
Hi, I have a problem with this code: Python:Copy to clipboard x = int(input()) if x <= 100: y = 0.1 else: y = 0.25 precio = x * (1 - y) print(precio) The code seems fine to me, but I'm not expecting the answer that I wanted in the last testcase of the challenge that my teacher sent me. Here are the inputs and expected outputs: 58 = 52.2 7=6.3 200=150 199=149.3 When I display the code with the last input, the answer is 149.25, which is not what im looking for, what should I do ..read more
Visit website
Automatic selection of elements
Code Forum
by cbreemer
3d ago
EDIT - Please ignore this post. It's standard browser behavior, nothing to do with what I am doing in the page. --------------------------------------------------------------------------------------------------------------------------- I have a little drawing project where a <canvas> is flanked by two <div>'s each showing some html. When I am drawing on the canvas, i.e. moving around with it the mouse down, and the mouse moves outside the canvas, elements in one or both of the... Read more ..read more
Visit website
Vscode console
Code Forum
by Pavel
3d ago
Hi i am taking a course and the instructor is using VS Code see below on the left please note the right side "JavaSCript Fundemantals- Part 1" and below it runs the code i want to output my JS like that... what i code on the left displays to the right how can i do that? i hope i am clear thank you ..read more
Visit website
Navigating Coding Technologies for Mobile App Development:
Code Forum
by jenniferlily
4d ago
Several coding technologies are used in mobile app development to provide useful and entertaining applications. Java, Kotlin, and Swift are important coding languages that are utilised in the development of native apps for iOS and Android, respectively. These languages let developers create strong and effective code by providing solid frameworks and libraries suited to the needs of each platform. Cross-platform frameworks like React Native and Flutter have been more well-liked in recent... Read more ..read more
Visit website
Passing data from (html-JavaScript) table to JavaScript Function
Code Forum
by lexerpv
4d ago
Hi, I've got a button for adding rows (select option value and Input) to a html-JavaScript table, When I select an element from the select option value (idmedico) I use onchange option in the select for going to a JavaScript function for fetching the name for the idmedico and the populate the input (id="nombre_'+cont+'"). Because I can add several rows in html-JavaScript table then I will have: idmedico[0] -- id="nombre_0" idmedico[1] -- id="nombre_1"etc. This is my JavaScript code for... Read more ..read more
Visit website
JavaScript not doing what I expected
Code Forum
by CyBaart
5d ago
Hello, although I have been coding for many years starting with basica, then quick basic, turbo pascal, turbo C etc. etc., I am new at this whole JavaScript thing and I obviously dont have something quite right and need some expert guidance. I am making a controller for my hot tub using an ESP32, some solid state relays, a DS18B20 and a BME280. I want a webserver to display the water temperature from the DS18B20 and the ambient temperature, humidity and air pressure from the BME280 and... Read more ..read more
Visit website

Follow Code Forum on FeedSpot

Continue with Google
Continue with Apple
OR