Code Boxes


<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>Sample Page</title>
    </head>
    <body>
        <h1>Lorem Ipsum</h1>
        <p>Lorem ipsum dolor sit amet.</p>
    </body>
</html>
.container {
  display: flex;
  flex-wrap: nowrap;
  background-color: grey;
}
.container > div {
  background-color: #f1f1f1;
  line-height: 75px;
  font-size: 30px;
  width: 200px;
  margin: 20px;
}
const num1 = 8;
const num2 = 9;
const sum = num1 + num2;
console.log('The sum of ' + num1 + ' and ' + num2 + ' is: ' + sum);
$("button").click(function(){
  $("p").addClass("myclass");
});

0 comments: