Hye what's up

Delhi(history) ∙ 
Permalink
from flask import Flask, render_template

app = Flask(__name__)

@app.route('/')
def home():
keywords = [
"Placeholder Text",
"Typography",
"Mockup",
"Design Layout",
"Content Strategy",
"User Interface (UI)",
"User Experience (UX)",
"Responsive Design",
"Prototyping",
"Wireframe"
]
return render_template('index.html', keywords=keywords)

if __name__ == '__main__':
app.run(debug=True)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Design Keywords</title>
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
</head>
<body>
<div class="container">
<h1>Design Keywords</h1>
<ul>
{% for keyword in keywords %}
<li>{{ keyword }}</li>
{% endfor %}
</ul>
</div>
</body>
</html>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 20px;
}

.container {
max-width: 600px;
margin: auto;
background: #fff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
text-align: center;
}

ul {
list-style: none;
padding: 0;
}

li {
background: #007bff;
color: white;
margin: 10px 0;
padding: 10px;
border-radius: 4px;
}

What tools did you use to create your project?

  • python
0
0
0
0
 
Participation Certificate

Members

Swastika