Open the web app sandbox at https://www.weiy.city/functions/react-sand-box/.

Then set backgroundColor for h1 element in app.js:

For example, you can write the following code on the js file.

export default function App() {
  return <h1 style={{ backgroundColor: 'rgba(255, 167, 38, 0.50)' }}>Hello world</h1>
}
export default function App() {
  return <h1 style={{ backgroundColor: '#66A700' }}>Hello world</h1>
}
export default function App() {
  return <h1 style={{ backgroundColor: 'red' }}>Hello world</h1>
}

The real-time effect will be at the right part.

Categories: Web

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X
0
Would love your thoughts, please comment.x
()
x