Open Rilsotea opened 1 day ago
To implement the user story and acceptance criteria you provided, we can create a simple HTML page that includes four sections: HTML, CSS, Git, and JavaScript. Each section will have its own box with some placeholder notes listed inside.
Here’s how you can structure your HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Prework Study Guide</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #f4f4f4;
}
.container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
width: 80%;
max-width: 1000px;
}
.box {
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.html { background-color: #f16529; color: white; }
.css { background-color: #2965f1; color: white; }
.git { background-color: #f34f29; color: white; }
.javascript { background-color: #f7df1e; color: black; }
h2 {
margin-top: 0;
}
ul {
list-style-type: square;
}
ul li {
margin-bottom: 10px;
}
</style>
</head>
<body>
<div class="container">
<div class="box html">
<h2>HTML</h2>
<ul>
<li>Basic structure of a webpage</li>
<li>HTML elements and tags</li>
<li>Creating headings, paragraphs, and lists</li>
</ul>
</div>
<div class="box css">
<h2>CSS</h2>
<ul>
<li>Styling with CSS</li>
<li>CSS selectors and properties</li>
<li>Box model concept</li>
</ul>
</div>
<div class="box git">
<h2>Git</h2>
<ul>
<li>Version control with Git</li>
<li>Basic Git commands</li>
<li>Understanding branches</li>
</ul>
</div>
<div class="box javascript">
<h2>JavaScript</h2>
<ul>
<li>Basics of JavaScript</li>
<li>Variables and data types</li>
<li>Functions and loops</li>
</ul>
</div>
</div>
</body>
</html>
HTML
User Story
As a bootcamp student I want the prework notes to be structured on a webpage so that i can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website WHEN I visit the website in my browser THEN i see four boxes tilted HTML, CSS, Git, and JavaScript with associated notes listed