I run you through making a responsive lander based on a popular one I spied today, using Microsoft Visual Studio Code.
Visual Studio Code is free, and you can download it here for Windows, Mac and Linux
The link gives me a 'not found' message. Browsing from ipad so that might be it, otherwise theres something up with the link!
Edit: Checked from desktop and the link seems to be broken. However, the embed does work correctly! 
Oh, yeah, sorry about that. In order to prevent videos being stolen and reposted (or at least make it a bit harder) that video's embed-only.
Let me know if you can't view the embed, folks. I can always work out another way.
Awesome! I love your pace at going through the video.
Hadn't heard of Visual Studio Code before, looks useful.
Very nice "Milligram framework" you recommend - will give this a try for sure.
Visual Studio Code is the dog's bollocks (translation from British: it's really good). I'm super-impressed with it.
It's been really weird, actually - whenever it gets mentioned in coding circles people pop up saying "I'm a lifetime Linux supporter and I hate Microsoft, but this tool has made my life so much better..."
What's the img width tag in style?
I can not see it even in HD
@sahil19 - It's
img {width:100%}
One of my favourite really quick hacks for responsiveness, along with using vh and vw for sizing.
Thanks Caurmen
My LP looks good in mobile mode. http://prntscr.com/bmio4g
But, the image covers the fold in desktop mode. http://prntscr.com/bmiovs
Any suggestions ?
Edit: found the solution online.
img {max-width:100%} solves the issue.
hey
is dream dreamweaver any good for making landing pages?
i learn mused but then realized it was maybe not so great for mobile landers.
thnaks
I'd like to know this as well for creating mobile banners/landers.
Dreamweaver's pretty good. It's complex, and it can produce somewhat bloated code (reoptimise your images in Photoshop or similar AFTER running them through Dreamweaver) but it's a good tool if you know how to use it.
On the other hand, the time investment in learning Dreamweaver well is probably not that much less than the time investment in learning to code HTML and CSS by hand.
Nice tutorial but horrible video quality, even in 720p HD I can't read your text...
Do you have the finished LP to check your code ?
Thanks,
Here you go mate, the finished code (without the Milligram CSS framework added to the <style>):
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.img{width: 80%;}
h1 {font-size: 3rem;font-weight: 600;}
h2 {font-size: 2.2rem;}
.button {font-size: 2rem;}
.column {position: absolute; top: 50%; transform: translateY(-50%);}
</style>
<title>Document</title>
</head>
<body>
<div class = "container">
<div class = "row" style = "position: relative; height: 100vh;">
<div class = "column" style = "text-align: center">
<h1>Is Your Device Battery Draining Faster?</h1>
<h2>New update for Android phones</h2>
<img src="whatever-your-image-is.png" alt="">
<ul>
<li>Apps run faster</li>
<li>Longer battery life</li>
<li>Feels like a new phone</li>
</ul>
<a href class = "button">Optimise Phone Now</a>
</div>
</div>
</div>
</body>
</html>
Hi,
you can load your page direct from Visual Studio Code with CTRL + SHIFT + B
Steps:
1- Use ctrl+shift+p to open "Command Palette".
2- Type in Configure Task Runner, then click Enter.
3- choose others
The tasks.json file opens up with Hello World example, delete this script example and replace it by the following:
{
"version": "0.1.0",
"command": "google-chrome",
"isShellCommand": true,
"args": ["${file}"],
"showOutput": "always"
}
You have only to replace "google-chrome" with your favourite browser.
@mrmali - yes, that's a good tip! Didn't want to complicate things too much in the video, but you're right, and it's an excellent way to speed things up.
(You can also use a meta-refresh tag to auto-reload the page frequently - another good trick - but do remember to take it out before uploading! )
Just a blurb, but I recently stumbled upon a free text/web dev software called Brackets. It's simple, has a clean and easy to use interface. A few great features include, split screen to work on two documents at once (html/css or html/js - etc) and a live preview mode that opens in a separate window and auto refreshes each time you resave the file, allowing you to see changes in real-time.
It's become one of my favs because it's designed very well.
Check it out: http://brackets.io
Might be a silly question but how did you open " ! " first ? lol
@medabor & @Gordon - Emmet's actually built into Visual Studio Code. Literally all you do is create a file, save it as .html, then type ! and press TAB - bingo, all the boilerplate HTML you need to get started.
Emmet is a thing of beauty, and makes coding from scratch almost infinitely easier.
@mrpayne - I too have heard very good things about Brackets. Haven't checked it out yet but I will at some point!
i tried Brackets and like it too. It helps typing code faster ..
Sorry about this. We're having a technical issue with this Vimeo vid - look for it to come back shortly.
Yup - don't use the original code, because that's potentially suspect. Recreate the design and you know you don't have anything dodgy going on there.
Very helpful video guide Caurmen, thanks! Can you please link me to the mobile lander guide where you posted the viewport snippet? I'm not sure which thread that is and would like to read it
Hi Caurmen,
I keep getting "Sorry, Because of its privacy settings, the video cannot be played here" message. Can you check it?
I can't get this video to load, no error I hit play and it looks like it's getting ready but never goes anywhere. A mirror would be super appreciated, the content seems awesome and just what i'm looking for.
Sorry about that. I'm in transit just now but will look into it on Mon.
Are you viewing on Chrome or FF (or another browser) and are you on Mac or Win? That'll help us narrow the problem down.
This is awesome, thanks.
I finally managed to play the video (chrome on mac did not work, firefox did). And it is just brilliant. Thank you caurmen!
Cool! Glad it was useful.
Hi Caurmen
I don't know why I can't see the video. I mean, it's not that I tried to play and cannot see the video, it's that there is no video at all in your original post, not even a link. Maybe you know why I can't visualize it? (I'm using Chrome if can help)
Thanks a lot!
Hi Caurmen
could you tell me why i cannot see the video anymore? I see only this: