We are encountering problems in the if statements in the program and cannot run it in the local host in the xampp.
if(isset($_POST['submit']))
{
$kWh=$_POST['kWh'];
$offsetpercent = 0.0;
$offset = 0.0;
$offsetpercent = $offset / 100;
$offsetpercent = $offsetpercent + 1;
$size=$kWh /...
Hi All,
Could you please tell me why i have padding on my .nav_primary when i did not set it?
I added a media query and was not able to center that class and then found out there is a padding-left and do not know why.
When i add padding:0 all work.
Here are my codes
Thank you
<header...
Hi, I built this portal for online courses. I can only use HTML and CSS without scripts. Could you help me add a description in the center frame when you click on each tab from above without clicking on the side buttons that have each one? Thanks in advance...
Hi Everyone, I am starting out on learning how to code (the proper way) and I simply am at a total loss or confusion. I need to be able to refactor code using semantic elements in HTML & CSS. I cant figure out where to break each section or where to use its proper semantic element so that its...
Hi Everyone, I am starting out on learning how to code and I simply am at a total loss or confusion. I need to be able to refactor code using semantic elements in HTML & CSS. I cant figure out where to break each section or where to use its proper semantic element so that its not using so many...
Hello everyone,
I wanted to implement an interactive drawing on my wordpress using the HTML element.
The code works well outside of wordpress but once implemented, the mouse is movement seems off ( it is far away from the cursor). Any idea why that is ?
Here is the page where i want to...
Hi All,
I have just bumped into this case while i am doing a freecodecamp challenge.
In the freecodecamp editor the div showed per given % but when i tried to do the same in VSC i did not get the same result, so i created a little example.
Could you please tell me how it works as it works with...
I'm making an online free web game and I got to the point where I don't know how to fix a particular bug. What I'm confused about is that the thing I'm building works perfectly when you perform it the normal way but If you go on a quest in my game and fight a monster it breaks. If you want a...
I'm making an online free web game and I got to the point where I don't know how to fix a particular bug. What I'm confused about is that the thing I'm building works perfectly when you perform it the normal way but If you go on a quest in my game and fight a monster it breaks. If you want a...
Hello everyone,
I hope someone here can help me with the following problem.
At my work we use sharepoint with the metrostyle layout .
Now they want me to extend the current layout.
Currently the tile can slide open 1 time (parent and child system) but now the child tile should also slide open ...
Why is my background not covering the whole span element?
You can inspect the element here Gem Hunt 2.
image1139×327 40.6 KB
The span that covers the picture and text and the background are red and black gradients. The span has a class of tablinks.
The circled thing is the background and it's...
Hello
I am currently working on reviving an old fansite of mine. I have finished designing the main site elements across the whole fansite in photoshop, and have begun coding them in HTML. One of the elements I have created is a series of 3 dropdown menus for a quick navigation of the games in...
Well, there is a little bit of javascript in here but when a popup in my game shows I want to disable all other things on the screen and make them not respond and create a little tint over everything but the popup. And when the user closes the popup everything resumes. I have no idea I tried to...
I am working on a search project. I am new to html, css, etc., and haven't the slightest idea of how to accomplish this. Here is my idea in simplest form:
1. User visits website.
2. User finds search box (form) I created.
3. User types something into search box.
4. When the user clicks the...
Hello to everyone,
Since 1/2 months ago, I wanted to start coding and learning HTML & CSS. Everything is going very well, I'm learning a lot of stuff but right now, I'm trying to understand and learn the logic behind a responsive website to be able to view the website on all devices without...
So i have recently made a website and now i'm working on the format to get it in a good size for phones etc.
But for some reasons the pictures are not doing as i please, anyone able to give me some tips?
"See photo for current result."
I also added my HTML and CSS code.
I hope someone can help...
Hi. First time on the forum. :)
I figure this will probably be an easy one for the coders here.
I've found a free HTML 5 template that overall suits what I want to use it for. Here's the link to the website that provides it:
https://html5up.net/editorial
On that page it shows the menu open...
Hi, I'm trying to do a Read More/Read Less style button with a translation of the text on our webpage: https://thenewgallery.org/The-New-New-Society-Ang-Bagong-Bagong-Lipunan-Cris-Mora
The button works, however the text within the button that reads "中文翻译 Chinese Translation" does not load...
Hello Guys, im new to HTML CSS and Javascript
I'm trying to make a search bar input to answer question based on City Area Covered in array i already prepare,
then i want to make the javascipt to produce different result when searched based on the matching input data with array
i'm trying this...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.