Skip to content

Instantly share code, notes, and snippets.

@angelabauer
Created September 23, 2020 11:10
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save angelabauer/81c9f4512a14c3cb04ba03540888875d to your computer and use it in GitHub Desktop.
Save angelabauer/81c9f4512a14c3cb04ba03540888875d to your computer and use it in GitHub Desktop.
Simple HTML Form
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<form>
<label>Name</label>
<input type="text" placeholder="name">
<label>Password</label>
<input type="text" placeholder="password">
<button type="submit">Ok</button>
</form>
</body>
</html>
@qodirovshohijahon
Copy link

Hello Angela. I hava recently watched your The Complete 2020 Web Development Bootcamp | Udemy video tuturial, I really liked it. So I decided to translate it into Uzbek language if you are not against with me. I am going to copy only your words in order to teach easily. Ofcourse I will prepare presentations. Give me access it. If I prepare video lesson like your it will be unfair for me and for my God, so I am asking permission you.

@NSAKGBM16CIA
Copy link

I think you might need to send her a tweet to get quick reply, then you agree on commission. It is awesome that you are an honest guy, are you a Jehovah's Witness?

Hello Angela. I hava recently watched your The Complete 2020 Web Development Bootcamp | Udemy video tuturial, I really liked it. So I decided to translate it into Uzbek language if you are not against with me. I am going to copy only your words in order to teach easily. Ofcourse I will prepare presentations. Give me access it. If I prepare video lesson like your it will be unfair for me and for my God, so I am asking permission you.

@NSAKGBM16CIA
Copy link

for me the render_template('index.html') worked only when the file was in the templates directory

@sachishMaharjan
Copy link

Hello Angela. I hava recently watched your The Complete 2020 Web Development Bootcamp | Udemy video tuturial, I really liked it. So I decided to translate it into Uzbek language if you are not against with me. I am going to copy only your words in order to teach easily. Ofcourse I will prepare presentations. Give me access it. If I prepare video lesson like your it will be unfair for me and for my God, so I am asking permission you.

That will be copying and it's illegal. She must have spend many months and years preparing for the material. May be you can create something new with the knowledge you have gained from her videos.

@Tommy-caveh
Copy link

for me the render_template('index.html') worked only when the file was in the templates directory

Yes, the picture of page 509. is wrong. flask only read templates from templates folder as she mentioned in Day 56

@siddhesh20014
Copy link

everyone's output looked like her because mine was a simple label and button

@AmatyaJoshi
Copy link

for me the render_template('index.html') worked only when the file was in the templates directory

Yes, the picture of page 509. is wrong. flask only read templates from templates folder as she mentioned in Day 56

its just a trick question. she wants us to understand the concept of making a template directory first for solving such cases on our own

@Speedforce12
Copy link

<title>Title</title> First Name
<label for="passwrd" class="form-label">Password</label>
<input type="password" id="passwrd" class="form-control" placeholder="Enter your password"> <br>

<button type="submit"  class="btn btn-primary">Submit</button>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>

@NSAKGBM16CIA
Copy link

<title>Title</title> First Name ``` Password

Submit


<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>

looks like you googled this one!

@NSAKGBM16CIA
Copy link

Hello Angela. I hava recently watched your The Complete 2020 Web Development Bootcamp | Udemy video tuturial, I really liked it. So I decided to translate it into Uzbek language if you are not against with me. I am going to copy only your words in order to teach easily. Ofcourse I will prepare presentations. Give me access it. If I prepare video lesson like your it will be unfair for me and for my God, so I am asking permission you.

how is it going?

@DestinyMor
Copy link

for me the render_template('index.html') worked only when the file was in the templates directory

Thank you for mentioning this, mine also did not work for the life of me lol, and saw this comment and boom works :)

@MrShapol
Copy link

Username: Password:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment