Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,205,812 members, 7,993,801 topics. Date: Monday, 04 November 2024 at 07:00 PM

Programming - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Programming (1014 Views)

(2) (3) (4)

(1) (Reply) (Go Down)

Programming by Chyfrankjnr01: 9:32pm On Feb 27, 2022
I started programming recently, downloaded the visual studio code but after running a simple HTML program it didn't show my work (output) or error.
What's is the problem, how can I resolve the issue.
Please it's my first time here

1 Like

Re: Programming by Sapeleboy911(m): 12:12am On Feb 28, 2022
Everything is wrong with your code. From your file naming, HTML broiler plate, CSS, everything is Wrong


First, you need to create a file on VScode and let the file end with .html with no spaces in between the text. For example

my firstpage.html = wrong naming

myfirstpage.html = right naming


After creating the file, type html and VScode will show you an option click on it and you will end up with something similar to this:


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Page title</title>
</head>
<body>

</body>
</html>


Then you can write your code in between the body tags.
You are better of watching a youtube video. Just type "html for beginners" on youtube and follow any videos tutorial.


If VScode na human being you for don make am run mad or burst cry with your code

4 Likes

Re: Programming by LeezeeUwakwe: 12:35pm On Feb 28, 2022
Hey, programming can be quite confusing. And you need to take it bit by bit. You have to carefully select your materials because there are some information that you don't need.

https://www.youtube.com/watch?v=N8YMl4Ezp4g

follow this youtube tutorial.. code along if you can..
Re: Programming by Nobody: 2:56pm On Feb 28, 2022
What are you trying to do? HTML is meant to run on the web browser. Are you trying to execute HTML in the terminal like a programming language?
Go to the vscode extension market and download the live server extension and enable it globally.
Always ensure your HTML file is saved inside a folder. Then open the folder in vscode, open the HTML file and click on start live server which should now be in the bottom task bar if you downloaded it.
Live server automatically opens up a browser tab and renders your HTML.
Re: Programming by elermin: 6:43pm On Feb 28, 2022
Chyfrankjnr01:
I started programming recently, downloaded the visual studio code but after running a simple HTML program it didn't show my work (output) or error.
What's is the problem, how can I resolve the issue.
Please it's my first time here
When saving the file make sure that you add the extension E.G file.html
Re: Programming by elermin: 6:46pm On Feb 28, 2022
and to avoid confusion when writing the declaration 2 the body part just type '!' and enter

1 Like

Re: Programming by Smartdev10: 3:36am On Mar 01, 2022
Youtube html for beginners

1 Like

Re: Programming by Maxxim: 7:56am On Mar 01, 2022
Sapeleboy911:



If VScode na human being you for don make am run mad or burst cry with your code


cheesy grin

1 Like

Re: Programming by elermin: 9:59pm On Mar 01, 2022
I will start with
1. create folder in VSCode
2. go to extension and download live server(you will be using this to be viewing what you are designing)
3. open the folder with live server(by right clicking and choose the option "open with live server")
4. if you open it just type ! it will display from declaration to the HTML closing tag
Re: Programming by Darealudeme: 7:31am On Mar 05, 2022
Try downloading live extension from the extension
Re: Programming by extendo: 10:37am On Mar 05, 2022
Chyfrankjnr01:
I started programming recently, downloaded the visual studio code but after running a simple HTML program it didn't show my work (output) or error.
What's is the problem, how can I resolve the issue.
Please it's my first time here

Use replit.com instead, it's an online IDE. Believe me, once you try it out you will not feel the need to write web dev code on your local machine again.

(1) (Reply)

Please, I Need The Activation Parameters For Internet Download Accelerator Or In / How Do I Hyperlink On Smf Forum / Which Programming Language

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 15
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.