Tailwind CSS hidden and visible

Backend dev here learning front. I am trying to hide an element on small and medium screens and visible on the rest of the screens. But the thing is when I do sm:hidden it hides the element for small screens and above. And when I try to do sm:hidden md:visible the element is not visible… Read More Tailwind CSS hidden and visible

VBA/Excel Issue: When I tried to hide specific multiple row ranges in a newly created workbook, i get a runtime 450 error

I have a an excel workbook that contains a macro that copies certain tabs into a new workbook as values and want to insert a small step within the VBA macro that hides (not collapses) specific rows across the 4 worksheets in the newly created workbook. The majority of the macro works, but i am… Read More VBA/Excel Issue: When I tried to hide specific multiple row ranges in a newly created workbook, i get a runtime 450 error

Creating HTML/Javascript Modal with dynamic text

I am learning Javascript and my project contains 3 buttons that open a modal. Everything works fine, however I want to reuse the modal and replace the modal text depending on which button is clicked. My HTML is below: <body> <button class="show-modal" id="btn-1">Show modal 1</button> <button class="show-modal" id="btn-2">Show modal 2</button> <button class="show-modal" id="btn-3">Show modal 3</button>… Read More Creating HTML/Javascript Modal with dynamic text

How to get the value present in inner html of the td tag in table

index.html <tr> <td> <input type="text" name="id" id="id" value="<%=rn%>"> </td> <td> <input type="text" name="name" id="name" value="<%=na%>"> </td> <td> <input type="text" name="location" id="location" value="<%=pe%>"> </td> <td> <input type="text" name="nbed" id="nbed" value="<%=ad%>"> </td> <td> <input type="text" name="obed" id="obed" value="<%=obed%>"> </td> <td> <input type="text" name="ibed" id="ibed" value="<%=ibed%>"> </td> <td> <input type="hidden" name="type" value="edit"> <button type="button" onclick="loadAjax()">edit</button> </td> <td> <input… Read More How to get the value present in inner html of the td tag in table

Background image css not scaling down properly

I’m trying to put an image as a background of my project insde the body component, but when I reduce the screen width the image doesn’t overflow correctly. This is what I have now: the css is: body { background-image: url("https://phoenix-engineering.be/wp-content/uploads/2019/07/shutterstock_1113165392.png&quot;); background-size: cover; overflow: hidden; background-position: unset; background-repeat: no-repeat; text-align: center; font-family: "Roboto", sans-serif; font-family:… Read More Background image css not scaling down properly

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