Midterm Excercise 1 (Branch 2331)
✨ นายพีรดนย์ พึ่งพงษ์
<html> <head> <title>Let's Start </title> <style> .squarered{ height:100px; width:100px; box-sizing:border-box; margin:5px; background:#FF0000; } .squareblue{ height:100px; width:100px; box-sizing:border-box; margin:5px; background:#0000FF; } </style> </head> <body> <!-- == Exercise 1 == 1. สร้างกล่อง Div ขนาด 100x100 pixel, margin รอบทิศทาง ขนาด 5 pixel จำนวน 5 กล่อง 2. ให้กล่อง 1 - 2 สีแดง 3. ให้กล่องอื่นๆ สีน้ำเงิน --> <div class="squarered"> </div> <div class="squarered"> </div> <div class="squareblue"> </div> <div class="squareblue"> </div> <div class="squareblue"> </div> </body> </html>