I saved my code and made a Git commit. Does that mean a copy is already on GitHub?
```bash
git status
# A local commit does not automatically upload files.
```
CookieSensei starter Q&A · example discussion.
I put 1 + 2 into app.py and ran it. There is no printed result, even though a notebook shows 3.
```python
1 + 2
```
CookieSensei starter Q&A · example discussion.
I want a label and a simple browser check for an email field. Is a placeholder enough?
```html
<input placeholder="Email">
```
CookieSensei starter Q&A · example discussion.
I want one control to open lessons and another to submit a form. Should both be links?
```html
<a href="#">Submit my form</a>
```
CookieSensei starter Q&A · example discussion.
I put an image in an images folder, but the page shows a broken image. What should I check?
```html
<!-- Folder: images/logo.svg -->
<img src="logo.svg" alt="Example logo">
```
CookieSensei starter Q&A · example discus…
My navigation looks fine on a wide screen but its links do not fit in a narrow space.
```html
<style>
nav { display: flex; gap: 12px; }
a { white-space: nowrap; }
</style>
<nav><a>Lessons</a><a>Community</a>
<a>Work…
I added a class to the heading, but the CSS rule does not seem to apply.
```html
<style>
welcome { color: #216653; }
</style>
<h1 class="welcome">Hello, learner</h1>
```
CookieSensei starter Q&A · example discussion.
I can write text on a web page. Which part controls its structure and which part controls how it looks?
```html
<h1>My first page</h1>
<p>I am learning to build for the web.</p>
```
CookieSensei starter Q&A · example d…
A cell uses total, but it fails after I restart the notebook kernel. What am I missing?
```python
print(total / count)
```
CookieSensei starter Q&A · example discussion.
My function runs, but I am not sure whether it returns the correct answer. What is a simple first test?
```python
def add(a, b):
return a - b
assert add(2, 3) == 5
```
CookieSensei starter Q&A · example discussion…
My dictionary does not always contain a city. Using the key directly gives an error.
```python
profile = {"name": "Asha"}
print(profile["city"])
```
CookieSensei starter Q&A · example discussion.
Printing the list shows brackets and commas. How can I display one item on each line?
```python
topics = ["Python", "Web", "AI"]
print(topics)
```
CookieSensei starter Q&A · example discussion.
The list has three names. Why does using index 3 fail?
```python
names = ["Asha", "Ravi", "Mira"]
print(names[3])
```
CookieSensei starter Q&A · example discussion.
The function prints the result I want, but the value stored in result is None.
```python
def double(number):
print(number * 2)
result = double(3)
print("Stored:", result)
```
CookieSensei starter Q&A · example dis…
I expected 15, but this code prints 105. What is the difference?
```python
first = "10"
second = "5"
print(first + second)
```
CookieSensei starter Q&A · example discussion.
I wrote an if statement, but the following print line gives an indentation error.
```python
ready = True
if ready:
print("Ready to learn")
```
CookieSensei starter Q&A · example discussion.
I expected the numbers 1 through 5, but the output stops at 4. Why?
```python
for number in range(1, 5):
print(number)
```
CookieSensei starter Q&A · example discussion.
Before posting a new question, I would like to see whether someone has already discussed the same topic.
CookieSensei starter Q&A · example discussion.