Skip to content

Commit

Permalink
Merge pull request #78 from jjasghar/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
mjhea0 authored Oct 17, 2023
2 parents 23e9e84 + 07d63f8 commit 1fd2eaf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Flaskr - Intro to Flask, Test-Driven Development, and JavaScript

[![Build Status](https://travis-ci.org/mjhea0/flaskr-tdd.svg?branch=master)](https://travis-ci.org/mjhea0/flaskr-tdd)

[Share on Twitter](https://twitter.com/intent/tweet?text=Check%20out%20Flaskr%E2%80%94An%20intro%20to%20Flask%2C%20Test-Driven%20Development%2C%20and%20JavaScript%21%20https%3A%2F%2Fgithub.com%2Fmjhea0%2Fflaskr-tdd%20%23webdev%0A)

As many of you know, Flaskr -- a mini-blog-like-app -- is the app that you build for the official Flask [tutorial](https://flask.palletsprojects.com/tutorial). I've gone through the tutorial more times than I care to admit. Anyway, I wanted to take the tutorial a step further by adding Test-Driven Development (TDD), a bit of JavaScript, and deployment. This post is that tutorial. Enjoy.
Expand Down Expand Up @@ -909,7 +907,7 @@ Run your app, log in (username/password = "admin"), add a post, log out.
Next, let's add some JavaScript to make the app slightly more interactive.
Open *index.html* and update the first `<li`> like so:
Open *index.html* and update the first `<li>` like so:
```html
<li class="entry">
Expand All @@ -918,7 +916,7 @@ Open *index.html* and update the first `<li`> like so:
</li>
```
Now, we can use JavaScript to target each `<li`>. First, we need to add the following script to the document just before the closing body tag:
Now, we can use JavaScript to target each `<li>`. First, we need to add the following script to the document just before the closing body tag:
```html
<script
Expand Down

0 comments on commit 1fd2eaf

Please sign in to comment.