dev env - 1. Setup Project
Goal
Create a development area to be used as a sandbox for understanding and working with concepts. This area will be created as a template that can be restored to at any point for a fresh start.
Process
Creating Folders and Files
- Create the following project schema:
- Setup the following tags in index.html
- Set the document type to HTML
- Open and closing html, head and body
- Add a title tag with text of "devSandbox"
- Create a system in the body section to allow for the following areas for future development. You may use what ever tags and systems you'd like:
- Header
- Navigation section (ideally in the header)
- main content area
- footer
- Add the following placeholder content to index.html:
- header needs a place to show project name
- navigation should have link to home and folderTest
- main content area needs:
- 1 level 1 heading
- 2 paragraphs of lorem ipsum each in their own p tags
- 2 level 2 headings with a paragraph of lorem ipsum each
- A form that has text, number and textarea inputs with a submit button
- footer needs a link to index.html
- Connect and setup the styles.css to style each of the elements in the index.html, keep it simple.
- Connect the script.js and add a function that will alert a passed in string to the user
devSandbox/
├── include/
│ ├── images/
│ ├── styles.css
│ └── scripts.js
├── pages/
│ └── folderTest.html
├── README.md
└── index.html
Break Point
Before moving on we will review the code that is in place and ensure all is working and meeting standard before moving on.
folderTest Updates
- Get folderTest.html to match index.html with the following changes:
- main content area should be completely blank
- header should indicate they are on a new page
New Sub Pages and Saleability Issues
Our project will require us to create new pages and folders as we are testing and developing solutions. Your task is to create the following:- 4 new html files, 2 need to be in new sub folders.
- All files need to maintain consistency with index.html
- All pages in project folder need to link to each other.
Reflect
- How is our project going to scale with our current system?
- The Navigation is being repeated a lot! Can we make it modular?