Ask Programiz - Human Support for Coding Beginners

Explore questions from fellow beginners answered by our human experts. Have some doubts about coding fundamentals? Enroll in our course and get personalized help right within your lessons.

  • All
  • Python
  • C
  • Java
  • CPP
  • SQL
  • JS
  • HTML
  • CSS
Sangram Soren
last year
Sangramcountry asked
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Sangram,

JavaScript was created by Brendan Eich, so he is commonly called the father of JavaScript.

If you have more questions, I am here to help 😊

JS
This question was asked as part of the Learn JavaScript Basics course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Arav,

Use an unordered list

    and put each bullet item inside
  • .

    Example:

    • Item 1
    • Item 2
    • Item 3

    That automatically shows bullet points.

    If you have more questions, I am here to help 😊

HTML
This question was asked as part of the Learn HTML course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Joy,

is an HTML tag used to create a paragraph.

  • is the opening tag. It starts the paragraph.

  • is the closing tag. It ends the paragraph.

Example:

This is a paragraph.

This is another paragraph.

The browser shows each paragraph on its own line with some space.

If you have more questions, I am here to help 😊

HTML
This question was asked as part of the Learn HTML course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi temidayo,

3.2 is a float, which means a number with a decimal point.

So:

  • 34 is an int

  • "dayo" is a str

  • 3.2 is a float

If you have more questions, I am here to help 😊

Python
This question was asked as part of the Getting started with Python course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

They are related, but not the same.

A tag is just the markup, like

or

.
An element is the whole thing: opening tag + content + closing tag.

Example:

Hello

Tags:

and


Element:

Hello

If you have more questions, I am here to help 😊

HTML
This question was asked as part of the Learn HTML course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Harit,

Yes. Put \n inside the string where you want a new line.

Example:

print("Hello\nHow are you?")

This prints Hello on one line and How are you? on the next.

If you have more questions, I am here to help 😊

Python
This question was asked as part of the Getting started with Python course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Harit,

Yes. Put \n inside the string where you want a new line.

Example:

print("Hello\nHow are you?")

This prints Hello on one line and How are you? on the next.

If you have more questions, I am here to help 😊

Python
This question was asked as part of the Getting started with Python course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Good question! The punctuation you add to a string, like a full-stop (period) or other marks, doesn’t affect the code itself, but it will change the actual content of the string.

For example, if you write:

print("This is a string.")

the output will include the period, showing: This is a string. However, if you write:

print("This is a string")

then the output will be This is a string without the period. The choice of punctuation is up to you and what you want to convey in that string.

Let me know if you have more questions!

Python
This question was asked as part of the Getting started with Python course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Great question!

Python was created by Guido van Rossum and first released in 1991. He developed it as a hobby project to keep him busy during the Christmas holidays.

The idea behind Python was to create a language that was easy to read and write, emphasizing code readability and simplicity. Guido wanted to make a language that could be used for various types of programming, from web development to data analysis. Over the years, Python has evolved significantly and has gained a massive following in the programming community.

Hope this helps! If you have more questions, feel free to ask.

Python
This question was asked as part of the Getting started with Python course.
Abhay Jajodia
Expert
last year
Abhay Jajodia answered

Hi Rizki,

Normal quotes (" " or ' ') make a basic string. Template literals use backticks ) and give you two big benefits:

  1. Easy variables inside the string using ${}

let name = "Ali";
console.log(`Hello ${name}`);

With normal quotes you usually do:

console.log("Hello " + name);
  1. Multi-line strings without adding \n

console.log(`Line 1
Line 2`);

So template literals are mainly for cleaner formatting and easier mixing of text + variables.

If you have more questions, I am here to help 😊

JS
This question was asked as part of the Learn JavaScript Basics course.