MAKE SURE TO ADD THE wrap DIV AFTER THE HEADER AND IT SHOULD WRAP EVERYTHING ELSE INCLUDING THE FOOTER!!
If you are having issues with other-stories consider that other-story is almost identical to main-story 😉
Also if icons are not working, or you prefer codepen you can paste your divs in here https://codepen.io/agrublev/pen/rqdMpZ to see the working version with livereload and no server start needed!
(please wait until class to go through this page!)
In today’s lesson, we will begin to cover the basics of building websites. The first most important building block of a website is the HTML language, which allows us to give the browser instructions to render our website.
Exercise 1: Add some boxes (div tags)
In the below code editor add some div tags, and see your resulting boxes!
See the Pen MakeSomeBoxes by Angel Grablev (@agrublev) on CodePen.
Exercise 2: Add an image
Now let’s utilize the self closing tag for adding an image.
Add the img tag and then add the src attribute with the value “http://x.co/myimg”
See the Pen MakeSomeBoxes by Angel Grablev (@agrublev) on CodePen.
Exercise 3: My webpage
Let’s build a simple website by simply adding a number of div tags with the appropriate class names.
See the Pen MyWebpage by Angel Grablev (@agrublev) on CodePen.
The final result should look like this:
See the Pen MyWebpageFinished by Angel Grablev (@agrublev) on CodePen.
Sometimes it can help you to find out what your favorite (or inspirational) websites are using! With this extension you get a nice glimpse into the types of libraries/frameworks the website is using:
Not necessarily web development focused, but a good extension to ensure your personal and work life have a higher level of language comprehension (or at least to make it appear so!). This extension will automatically make some quite advanced suggestions how to improve the text (emails, comments, etc) you write!