     }
     
     func prepareJournalView() {
-        //
+        //create the stack view
+        journalStackView.frame = CGRect(x: 0.0, y: dayViewTitle.frame.size.height, width: self.dayView.frame.size.width, height: 200)
+        journalStackView.distribution = .equalSpacing
+        journalStackView.alignment = .fill
+        journalStackView.axis = .horizontal
+        journalStackView.backgroundColor = .red
+        
+        // add the Journal Title
+        var mylabel = UILabel(frame: CGRect(x: 0, y: 0, width: self.journalStackView.frame.size.width, height: 30))
+        mylabel.center = CGPoint(x:self.dayView.frame.size.width/2, y:30/2)
+        mylabel.textAlignment = .center
+        mylabel.text = "TODAY'S JOURNAL"
+        mylabel.attributedText = NSAttributedString(string: mylabel.text!, attributes:
+            [NSAttributedStringKey.underlineStyle: NSUnderlineStyle.styleSingle.rawValue])
+        mylabel.backgroundColor = .white
+        journalStackView.addSubview(mylabel)
+        
+        
+        //add text fields
+        
+//        var myTextView = UITextView(frame: CGRect(x: 0, y: 30, width: self.dayStackView.frame.size.width, height: 150))
+//        myTextView.delegate = self
+//        journalStackView.addSubview(myTextView)
+        // journalEntryTitles
+        
+        
+        var i:Float = 1
+        
+        for curText in journalEntryTitles{
+            var journalVertStack = UIStackView(frame: CGRect(x: 0, y: (CGFloat(30/2 + 30*i)), width: self.dayStackView.frame.size.width, height: 30))
+            
+            var newLabel = UILabel(frame: CGRect(x: 0, y: 0, width: self.dayStackView.frame.size.width/2 - 20, height: 30))
+            newLabel.center = CGPoint(x: self.dayView.frame.size.width/4, y:0)
+            newLabel.textAlignment = .right
+            newLabel.text = curText
+            newLabel.backgroundColor = .white
+            
+            
+            journalVertStack.addSubview(newLabel)
+            
+            var newTextField = UITextView(frame: CGRect(x: 0, y: 0, width: self.dayStackView.frame.size.width/2, height: 30))
+            newTextField.center = CGPoint(x: 3*self.dayView.frame.size.width/4, y:0)
+            newTextField.textAlignment = .left
+            newTextField.text = "Enter Text Here"
+            newTextField.backgroundColor = .white
+            journalVertStack.addSubview(newTextField)
+
+            
+            journalStackView.addSubview(journalVertStack)
+
+            i = i+1
+        }
+        
+        
+        
+        self.dayView.addSubview(journalStackView)
+        
         
     }
 }

            curVertStack.axis = .vertical
            
            var nameLabel = UILabel(frame: CGRect(x: 0, y: 0, width: self.dayStackView.frame.size.width/2, height: 30))
            nameLabel.center = CGPoint(x:self.dayView.frame.size.width/4, y:0.0)
            nameLabel.textAlignment = .center
            nameLabel.text = curText
            nameLabel.backgroundColor = .white
            

import JTAppleCalendar


class ViewController: UIViewController, UITextViewDelegate {
    
    @IBOutlet weak var calView: JTAppleCalendarView!
    @IBOutlet weak var dayView: UIView!
