Control flexboxes on smaller screensizes
I am trying to learn how to work with flexboxes. I have made an example here:/* Grid */ .column { flex-basis: 100%; } @media screen and (min-width: 800px) { .row { display: flex; flex-direction: row;...
View ArticleHow to center d3.js word cloud in container?
I'm displaying the word cloud inside a div container. But as you can see the svg is not centered.Does anyone know how to fix this issue? Here is my code (based on Julien Renaux solution) <!DOCTYPE...
View ArticleHow can I have a layout split into three columns with rows in the middle column?
I'm trying to get a <div> layout to split into rows. I can probably accomplish this with an HTML table but this design needs to be fluid so that it can be viewed on mobile devices. I've looked...
View ArticleList out values from an array in JSON and display it on a table
I have a table that relies on data from JSON. It consists of the following:[ { "name": "wvwvw", "description": "wvwv", "permissions": [ ], } ] [Permission consists of name and description]I'm trying to...
View ArticleHo to check radio button inside label with javascript
I want to check radio buttons contained in a div based on their parent ID, they set a variable that's used in a function but I can't select them.<label id="radio-step-1" class="btn btn-radio...
View ArticleHow to get realtime firebase data and show on update table on web page
I want to export data from firebase and show the data on web page. The table should updtae but unfortantly the table can't create new rows. the code is example for two childs and the image show how the...
View ArticleCan you use a Razor Page for a layout in a cshtml
I am trying to use a default layout for each cshtml page, but the default layout i want to use is a .Razor file. Can a .razor file be used as a layout for a cshtml?
View ArticleHow to update all similar DOM elements?
I am trying to append to two <nav>s. But only second is updated. What am I missing? I tried Array.from(socialMediaIcons).forEach and for loop, but with the same result.var socialMedia = {...
View ArticleCenter and right align flexbox elements
I would like to have AB and C aligned in the middle.How can I get D to go completely to the right?BEFORE:AFTER:ul { padding: 0; margin: 0; display: flex; flex-direction: row; justify-content: center;...
View ArticleLaravel not logging in the user at all. (Login route keeps redirecting back)
I have a problem when I log in a user, it won't redirect it properly. I have followed this video: https://www.youtube.com/watch?v=atWUeGBIAAM&list=PL55RiY5tL51oloSGk5XdO2MGjPqc0BxGV&index=4and...
View ArticleHow do I make a website that updates itself with files a user uploads?...
This question already has an answer here:How to upload files in php using html 3 answersI'm currently making a website for a school project and am unfamiliar with web design. Essentially, I want to...
View ArticleDraw lines between circles css
I'm trying to draw lines between circles, i have this code https://codepen.io/cfmorales/pen/VwYmNpY, in some way it works but when you resize the page the height of the line doesnt match to the circle,...
View ArticleHow to catch POST request on back-end?
<!doctype html> <head> </head> <body> <script> const Http = new XMLHttpRequest(); const url='http://localhost:4550/users'; Http.open("POST", url); Http.send("hey");...
View ArticlePass value with increasing id on next screen
I have a table and I am adding rows by cloning the current row. I am also increasing my td id by 1 every time I add a new row. I want to pass these values which is filled by the user to next screen. I...
View ArticleSending Files Using SwiftMailer getting SwiftIOException
I am using Swiftmailer to send multiple attachments/files. I have Javascript and HTML generating each file upload on a button click. If the user clicks the add file button 3 times there will be 3...
View ArticleSending link with php variables using PHPMailer [duplicate]
This question already has an answer here:What is the difference between single-quoted and double-quoted strings in PHP? 11 answersI want to send an email that lets you reset your password on our...
View ArticleHow do I create a circle or square with just CSS - with a hollow center?
It should just basically be an outline of the square or circle - that I can style accordingly (i.e. change the color to whatever I want, change the thickness of the border, etc.)I would like to apply...
View ArticleIs there problem with my javascript function?
I wrote HTML table in which i have checkbox for every row. So now i want to add checkbox in my header which will check all check boxes in the table. I have done it, but it does not work. Any...
View ArticleLogical operation to highlight text fields
So i have a scenario here which needs to highlight a field depending on the condition using javascript/htmlLet's say if A and B fields are blank, either the C or D field will be required to submit a...
View ArticleHow can I remove this white background or border from my Font Awesome checkbox?
I am using Font Awesome 5 to style my checkbox my problem is when I click on my checkbox there is a white background or border that I can't remove or hide/* Update default snippet color to better see...
View Article