Skip to content

Placing a Div behind 3 divs

The aim is to code the design below with 3 boxes appearing on top of a straight vertical line (Horizontal on desktop). I have tried creating this using :: before pseudo selector. Here is the code: I’m unable to hide the pseudo selector behind the parent div. Answer

How to reach a html tag inside a using Java Script?

I’ve got a span tag which placed inside a div, like below: I want to set a border for the span tag as the input tag is clicked and also don’t want to use any id in the span. I’ve tried the bellow ways: 1: 2: but none of them worked correctly! So would anybody help? Answer I would suggest

Make words in placeholder while typing in javascript

I want to make do a typing accuracy check application. What I want to achieve is to make the words (user should type) in the placeholder or similar to the effects of placeholder while users are typing. When user types the words in the input, the word in placeholder should disappear or fit the words in the inp…

Weird Formatting for nextJs (vscode)

I am using prettier as my formater. When I read a simple JSX function it is written as however, when saved the autoformatter turns it into I have turned prettier off and turned most of my other extensions off yet this doesn’t change, I belive it is intrinsic to vscode somehow. Anyone have a fix? Answer …