Answer these Check for Understanding questions as you work through the assignments.
-
What is HTML?
Hyper Text Markup Language
-
What is an HTML element?
Updated by: Chris Simmons, based on the 5.2 Cheatsheet by Scott Borecki.
Please reach out if you have any comments or suggestions for updates!
$rails -v
to check your Rails version number.$
:In your command line, you'll need to make sure that pip and python are installed.
If this is not your first time making a Django application, see the Quickstart option instead.
Next is setting up a virtual environment. It is a recommended best practice when working on Python projects, including Django. A virtual environment helps isolate project dependencies and avoids conflicts with other projects.
Create a new repository that has the SAME name as your GitHub username. This will give you a notification that this is a special repostitory that will automatically live at the top of your profile page.
ITEMS: GET 127.0.0.1:8000/vendors/1/items/
[
{
"id": 1,
"item_name": "Potato",
"vendor": 1,
"price": "2.50",
"size": "1",
Disclaimer: I did not create this cheatsheet or the ideas within. All credit goes to Mosh Hamedani and his Python Cheatsheet that can be acquired through an email link, by visiting his YouTube tutorials or visiting his tutorial pages. This is a Markdown version of the original pdf that I retyped with a few typo corrections and notes for my own understanding.
We use variables to temporarily store data in computer's memory.
price = 10 # Integer
First start by making sure you're in your Root directory, run cd
in the command line if you're unsure.
Next we need to open up the .zshrc
file within your terminal. This file is what helps your terminal function so BE CAREFUL
nano .zshrc
Go to the bottom of your .zshrc
file (top works too, I just like to be careful) and there you can add a new alias.