skip to Main Content

Can't set border style from custom css property

I have a simple react app (Vite project) app.tsx import "./common-styles.css"; export default function App() { return ( <div className="app"> <div className="interactive"> content content </div> </div> ) } with only 1 css file common-styles.css @property --interactive-color { syntax: "<color>"; inherits:…

VIEW QUESTION

Html – Why is this code not checking the validity of the passcode?

**This is the HTML Part** <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Login</title> </head> <body style="background-color: rgb(0, 255, 195); text-align: center"> <div id="display"> <p style="color:black">Enter your Passcode:</p> <input id="passcode" type = "password"> <button onclick="checkValidity()">Enter↵</button> </div> <script…

VIEW QUESTION
Back To Top
Search