Learning to code.

Discussion in 'The Village Square' started by Ronni, Aug 6, 2017.

  1. Ronni

    Ronni Hardy Maple

    Joined:
    Mar 30, 2013
    Messages:
    3,120
    Likes Received:
    3,567
    Location:
    Nashville Tennessee
    Spending every spare minute I can on the Code Academy website. Learning to code!

    It ain't for the faint of heart! Thank God for screen shots, chat, Kobria (realtime collaberative coding site) and my own personal geek squad to help me out when I'm stuck!

    I did fine up to here......

    [​IMG]

    But then I screwed up, and I'm waiting on a response from Cameron to talk me through the mess I made! :sete_083:

    [​IMG]

    Still, I'm having lots of fun....when I'm not pulling my hair out, muttering under my breath, and swearing at the computer in frustration! :mad::crying::nerdy::D
     
    Jewell, Cayuga Morning and 2ofus like this.
  2. Loading...


  3. 2ofus

    2ofus Hardy Maple

    Joined:
    Aug 24, 2014
    Messages:
    2,581
    Likes Received:
    1,567
    Location:
    Idaho Mountains
    Not sure what you are learning coding for but you seem to enjoy it ...until frustration sets in. :confused: At least you have back-up help and I wish you the best.
     
    Ronni likes this.
  4. Islandlife

    Islandlife Young Pine

    Joined:
    Jul 8, 2016
    Messages:
    2,009
    Likes Received:
    1,703
    Best of luck with it although I'm like @2ofus I'm not quite sure what you're learning ;)
     
  5. eileen

    eileen Resident Taxonomist Staff Member Moderator Plants Contributor

    Joined:
    Feb 7, 2005
    Messages:
    29,088
    Likes Received:
    6,277
    Location:
    Scotland
    Way too advanced for my tiny brain!! :shrug: I still can't text and don't want a 'phone that's smarter than me.
     
    2ofus likes this.



    Advertisement
  6. Evil Roy

    Evil Roy In Flower

    Joined:
    Nov 4, 2006
    Messages:
    323
    Likes Received:
    220
    Location:
    Deepinahearta, Texas
    Try putting a right angle bracket after the "<a".

    Good luck with the coding and always remember that if it doesn't work, never add code. Take out code until it works and then add a little back at a time. Too many developers dive down a never ending rat hole adding more and more code to fix a simple error.
     
    Henry Johnson and Frank like this.
  7. Frank

    Frank GardenStew Founder Staff Member Administrator

    Joined:
    Jan 25, 2005
    Messages:
    18,089
    Likes Received:
    2,178
    Location:
    Galway, Ireland
    You're on to something there Evil. @Ronni here's my suggestion to you about what you are missing:

    <a href="http://www.largebrownbears.com">
    <img src="#" alt="A large brown bear" />
    <img src="https://s3.amazonaws.com/codecademy-content/courses/web-101/web101-image_brownbear.jpg" target="_blank" />
    </a>


    The largebrownbears website address is just an example of course :) But what was missing was completion of the opening <a> tag. The missing text I've filled in is the large text.

    I think it's great that you are jumping into HTML. I remember when I left college I had very little HTML experience as they never formally thought it to us. Different story nowadays :)
     
  8. Ronni

    Ronni Hardy Maple

    Joined:
    Mar 30, 2013
    Messages:
    3,120
    Likes Received:
    3,567
    Location:
    Nashville Tennessee
    I'm learning it I guess....because it's something I don't know how to do, other than the very simple code I use to create my custom spreadsheets. And learning that was fun, and so I figured I'd take it to the next step. Been wanting to learn for several years in fact, and finally jumped in.

    Even more than that though, I've chosen to use the ever evolving technology we're now dealing with in this fast paced world as my own fight against dementia and senility. I dealt with dementia with both my parents, and it wasn't pretty :( Physically, as you all know, I stay as healthy as I can by being careful with my diet and keeping my body active with dancing and the various physical adventures I challenge myself with.

    As far as my brain is concerned, numerous legitimate studies have found that keeping your brain healthy with brain training exercises is one of the best ways keep your mind working well, forming new neuro-connections, and preserving older connections. I tried some of the many brain training games out there, (the ones I could afford anyway, and a bunch of the free ones too) and decided that I'd much rather do something that was actually USEFUL, and that would continue to expand my knowledge. That's when I made the decision to dive into technology, got myself a smart phone (they weren't as smart when I first dived in ;) ) and an iPad (I already had a MAC but just did very basic stuff on it) and started to learn how to utilize their full capabilities. Having several coders in the family turned me in that direction as just one more thing to learn.

    Evil and Frank, THANK YOU! :D Yup, that was the problem! I'll take help anywhere I can get it! Careful though, you both may become part of my geek squad, and I'll be hitting you up with all kinds of questions! I have a question sitting in Cameron's inbox right now as a matter of fact...I've hit another wall and can't figure out what the heck I've done wrong!

    Anyway, for me this is fun, and keeps my brain working in high gear, and I have several ideas for a personal website that I will apply this knowledge to, when I get that far.
     
    Cayuga Morning likes this.
  9. Frank

    Frank GardenStew Founder Staff Member Administrator

    Joined:
    Jan 25, 2005
    Messages:
    18,089
    Likes Received:
    2,178
    Location:
    Galway, Ireland
    You're welcome Ronni. Glad it fixed it.
    That's one of the aspects of programming that I really enjoy. The landscape changes month after month (I'm not even kidding) so keeping up is a real gym session for the brain.

    I think you are doing a wonderful thing. I can help if you get really stuck on a problem, time permitting of course. And maybe someone can find this thread through a search engine if they are having a similar problem.
     
    Ronni likes this.
  10. Ronni

    Ronni Hardy Maple

    Joined:
    Mar 30, 2013
    Messages:
    3,120
    Likes Received:
    3,567
    Location:
    Nashville Tennessee
    Thanks Frank for the offer of help. I really appreciate it, and will likely take you up on it a time or two ;) Apart from the mechanics of the code itself, I'm struggling to understand certain concepts that I know are fundamental to my being able to actually manipulate the code, and figure out where my errors lie when I make them.

    It's things like the hierarchal nature of HTML code, and how some tags are siblings, some parent/child, how white space isn't a thing, but indenting is (at least for clearer reading of the code)....so much of that kind of thing, which are in one regard peripheral to the actual individual lines of code, but yet are fundamental to it. Y'know? :confused:
     
  11. toni

    toni Mistress of Garden Junque Staff Member Moderator Plants Contributor

    Joined:
    Jan 7, 2006
    Messages:
    19,634
    Likes Received:
    5,059
    Location:
    North Central Texas, Zone 8a
    I have no idea what you just said but it came out nicely in print.:eek:

    P.S. I am very proud of you for learning code!!!!
     
    Last edited: Aug 7, 2017
    Cayuga Morning and Ronni like this.
  12. Frank

    Frank GardenStew Founder Staff Member Administrator

    Joined:
    Jan 25, 2005
    Messages:
    18,089
    Likes Received:
    2,178
    Location:
    Galway, Ireland
    One quick tip: almost all tags have a closing tag e.g. <p></p>, except <img /> which does not. Others that don't are <br/> (line break) and <hr/> (separator line). So if you're unsure if a specific tag needs a closing tag, 95% of the time it does.

    For a reference resource I recommend https://developer.mozilla.org/en-US/docs/Web/HTML
     
  13. Jewell

    Jewell Incorrigible Gardener Plants Contributor

    Joined:
    Dec 17, 2008
    Messages:
    4,256
    Likes Received:
    3,201
    Location:
    Puget Sound Region of the Pacific NW,Zone7b
    Good for you Ronni! Some where along the line I learned and forgot most of the simple coding I learned. Have fun with it. Life is just the art of learning to me and is what makes everything so interesting.
     
    Cayuga Morning and Ronni like this.
  14. Ronni

    Ronni Hardy Maple

    Joined:
    Mar 30, 2013
    Messages:
    3,120
    Likes Received:
    3,567
    Location:
    Nashville Tennessee
    @Evil Roy this is a great tip! Thank you so much, I've actually used exactly this method when I screwed up and the code wouldn't run. Remembered what you said, and ignored my impulse to add more code, instead just removing stuff until it worked, then slowly adding back. Magic! Thank you! :)
     
  15. DeepWoods

    DeepWoods In Flower

    Joined:
    Jun 26, 2010
    Messages:
    358
    Likes Received:
    553
    Location:
    Zone 7
    It's a nice set of skills to have. I've been coding for many years now, HTML, CSS and a little bit of other languages. I've never heard or seen "putting a right angle bracket after the "<a"..." To each his own...here's some of my work for my friend..simplycrappie dot com

    It looks like you may already be using this but a heads up if not... Sublime Text is a very nice free code editor.
     
    Last edited: Aug 21, 2017

Share This Page