bluehost

Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Sunday, 22 May 2022

Inputs Types In HTML

There are many inputs you can employ when designing HTML codes.

Some of them are radio button, check button, submit button, file upload button, password, login , signup, etc.

You need to use both HTML and CSS so as to come up with a beautiful user interface that is, a good login or sign up interface.

In my codes, I have incorporated both HTML and CSS and my styles looks attractive.
Use this HTML codes;
<div id="input">
<h1>INPUT TYPES IN HTML</h1>
<p>
<label for="Name">Name </label>
<input type="text" id="txtName" required>
</p>
<br>
<p>
<label for="phone">phone </label>
<input type="tel" id="txtphone" required>
</p>
<br>
<label for="email">email </label>

<input type="email" id="txtemail" required>
<br>
<p>
<label for="password">password </label>
<input type="password" id="txtpassword" required>
</p>
<br>
<p>
<label for="checkbox">checkbox </label>
<input type="checkbox" id="checkbox" required>
</p>
<p>
<label for="radio">radio </label>
<input type="radio">
</p>
<p>
<label for="color">color </label>
<input type="color">
</p>
<p>
<label for="file">file </label>
<input type="file" required>
</p>
<p>
<label for="image">image </label>
<input type="image" required>
</p>
<div class="button">
<p>
<!-- -->
<input type="submit" name="Submit" id="Submit" value="Submit">

</p>
</div>
</div>


Use this CSS codes;
body {
background-color: rgb(157, 219, 219);
text-align: center;
}
.button {
color: rgb(13, 54, 236);
}
#Submit {
background: rgb(51, 255, 0);
}
#checkbox {
color: blue;
}

Now, design your interface to look more professional than mine.

You can share your new codes in the comments section below and compare with others.

Have a good coding career.

Friday, 18 February 2022

My Programming Journey And History

Hi dear programmers, I hope you are making your programming career a better one.

In this story, I want to narrate to you how I started as a self-taught programmer has been going.

I started my programming process in November 2020 making it one year in the programming industry.

Most of my teacher's guide has been YouTube, and google. It is a difficult process but at the end, it gives good results.

Since then, I've known how to program different things using Python. I also learned how to develop websites, majorly front-end interface.

You can also do like me.
I now encourage you to gain more skills and experience, since programming is the future.

Saturday, 23 October 2021

How To Add A Background Image To Your HTML website.


 Many programmers and website builders face challenges of inserting a background image to their HTML and CSS  websites. Others struggle a lot in passing through Google videos, and they can't get the best codes to paste direct to their website. 

 Having a good experience in  website development, I'm going to give you the best and straightforward codes which will help you come from these problems.

To place a background image, you need to first identify where to position your image on the website. Second, look for a good image which can fit the whole place. In this case, the image should be very decorative to attract many readers or visitors to your website.

If you are using external CSS, make sure your CSS link is connected with the HTML pages.

<link rel="stylesheet" href="index.css">

After that, give the name of the container using  class="" or id="". The class in CSS is usually used with(.) while Id is used with(#).

At the HTML page, insert this codes.

<div id="home">
</div>

In CSS page, insert your image.

#home {
background-image: url('wapp.jpeg');
background-size: cover;
background-position: center;
min-height: 100%;
height: 500px;
position: relative;
text-align: center;
padding-top: 0;
}

Thank you for visiting me.


Sunday, 10 October 2021

How To Make An Active Download Button Using HTML And CSS.

 


If you are creating a blog or a website, and you want to put downloadable documents, there are ways you can create the download button and link it to your documents.

For the button to work out perfectly, the documents to be downloaded should be in the same folder as the other documents.

The link of the document should now be mounted into the website code e.g. if "post/edit/310299486750145624" is the document link, now the code should be like

href="post/edit/310299486750145624"

create a button like this;

<button class="btn"><i class="fa fa-download"></i> Download</button>


Make sure you position your button at the preferred place.

Then give your button a class so that the program can know what it's going to do.

class="et_pb_button"

The full button code;

<a href="post/edit/310299486750145624" download="newname" target="_blank"
class="et_pb_button" style="color: #1148df;">Download Link</a>

Sunday, 15 August 2021

How To Add Social Media channels Into Your HTML Website

contact me:



The href=" " is where you put your  channel links like if your you tube channel link is 'UC2PEw' ; you have to copy-paste it there.

You also need to paste an icon links in your coding area to ensure that, they are uploaded into your site.
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font
-awesome/4.7.0/css/font-awesome.min.css" />

Paste the link between the head tangs

If you are using external CSS style-sheet ;make sure to use the right link to connect the CSS and HTML


<link rel="stylesheet" href="index.css">
The HTML coding;
<div class="Social">

<!-- Add font awesome icons -->
<a href="https://www.youtube.com/channel/UC7oVVWRPEw"
target="blank" class="fa fa-youtube"></a>
<a href="https://pin.it/1gTSr5H" target="blank"
class="fa fa-pinterest"></a>
<a href="https://www.facebook.com/meyermachapython.9"
target="blank" class="fa fa-facebook"></a>
<a href="https://twitter.com/"johnjoy target="blank"
class="fa fa-twitter"></a>
<a href="#" target="blank" class="fa fa-linkedin"></a>
<a href="mailto:meyechas@gmail.com? subject=subject text">
<img src="email.jpeg" width="25" height="25"></a>
</div>



The CSS coding;

.fa:hover {
opacity: 0.9;
}

.fa-linkedin {
/* background: white; */
color: rgb(69, 123, 238);
}

.fa-pinterest {
/* background: #cb2027; */
color: rgb(206, 46, 46);
}

.fa-instagram {
/* background: #ff5700; */
color: rgb(240, 161, 161);
}

.fa-facebook {
color: rgb(52, 77, 223)
}

.fa-twitter {
color: rgb(66, 105, 233);
}

.fa-youtube {
color: rgb(207, 37, 37);
}

.fa {
padding: 20px;
font-size: 40px;
width: 60px;
text-decoration: none;
margin: 5px 8px;
/* display: inline-block; */
}

Thank you for your time.

Monday, 15 February 2021

Advantages Of Python Programming language.

Python is one of the largest programming languages in the planet. It is used by big companies like Google and Nasa. It has many advantages and applications as detailed below.
1. Portable and extensible.
Python is supported by other platforms like Windows, Linux, play stations and many more.

2. Used for artificial intelligence.
Python is combined with libraries such as SciKit learning. Python can do complex calculations with just a single statement.

3. Computer Graphics.
Python is used to build Graphic User Interface GUI. It is used for desktop applications. Tkinter is the standard GUI library for python.

4. Python programming uses little coding.
In nature python has very simple syntax leading to smaller codes and hence saving on time.

5. Easy to learn.
Python uses simple to learn syntax, which helps beginners to understand the language faster.

React vs Angular; Front-End Web Development

Angular and React  are two of the most popular Javascript tools for front-end development. React is a Javascript created by Meta...