how to draw rectangle in html
<div style="width:500px;height:100px;border:1px solid #000;">This is a rectangle!</div>
how to draw rectangle in html
<div style="width:500px;height:100px;border:1px solid #000;">This is a rectangle!</div>
how to make a rectangle in javascript
const canvas = document.getElementById('pong') // first make a index . html with a canvas height and width and id of pong or whatever
// and then we have to get access to our context to draw on it
const context = canvas.getContext('2d')
// then you do...
context.drawRect(20, 20, 150, 150);
context.fillStyle = '#fff' // thats white!!
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us