How can i resolve a problem of display: flex on html & css?

Hellow friends, could somebody help me, i’m very noob in html, this is my first code, i’m watching a youtube video to learn, but i have issues with this, i want to do that is on the video, and is not working this is the code in html <!DOCTYPE html> <html lang = "es"> <head>… Read More How can i resolve a problem of display: flex on html & css?

Put text on top div that is inside another div

I want to put the text over the div that is containing an image and that div is inside another div that also has an image. .marioHeader { background-image: url(“resources/marioBackground.jpg”); background-size: 600px; height: 500px; background-position: bottom; display: flex; justify-content: center; align-items: center; background-repeat: repeat-x; background-color: #6096ff; margin-top: 50px; text-align: center; } .title { text-align: center;… Read More Put text on top div that is inside another div

Operator function defaults to first if statement in JavaScript calculator project

I’m creating a calculator with JavaScript and most functions are working properly, but the operator function defaults to the first if statement each time (I switched add with subtract to test this). i.e. if the add function is in the first if statement of my operator function, every operator button will add the numbers instead… Read More Operator function defaults to first if statement in JavaScript calculator project

Why is my text going vertical at a certain width?

So I have an issue with my code where when my JavaScript types of a word (eg. Gamer) it limits to a certain width and ends up going vertical instead of horizontal. Here are all the classes and code for the text: // TYPEWRITER // const typedTextSpan = document.querySelector(“.typed-text”); const cursorSpan = document.querySelector(“.cursor”); const textArray… Read More Why is my text going vertical at a certain width?

how to write good anchors in react.js

I had code in react js but the are problem to write anchor with href . form example this below code import React from "react"; function Browser() { return ( <div> <section className="flex bg-gray-100 py-16 px-4" id="browse-the-room"> <div className="container mx-auto"> <div className="flex flex-start mb-4"> <h3 className="text-2xl capitalize font-semibold"> browse the room <br className="" /> that… Read More how to write good anchors in react.js