Tools Blog Learn Quizzes Smile API Log In / Sign Up
Tools Blog Learn Quizzes Smile API Log In / Sign Up
We have updated our privacy policy to let you know that we use cookies to personalise content and ads. We also use cookies to analyse our traffic and we share information about your use of our site and application with our advertising and analytics partners. By using this website or our application you agree to our use of cookies. Learn more about the way this website uses cookies or remove this message.

HTML for Beginners - Part 4 - Let's make a web page

August 22, 2014 Difficulty: 10 / 50
Nicely-positioned-elements

In my last tutorial on HTML for beginners, you've learned how to create a web page that contained an image and a title. The goal for today is to go one step further and create an actual design for our HTML web page.

You will learn what HTML5 tags you should use for the various sections of a web page and also how to apply CSS styling to change the appearance of your page.

Continue to the article to see how the page will look like once you've finished this step by step guide.

Read Full Article...

Creating namespaces in JavaScript

August 19, 2014 Difficulty: 35 / 50
pins inside container

In this tutorial I will show you how I write my JavaScript code by creating a namespace and holding all my code inside its scope. I am not saying that this is the best method to do it, but I'm sure that it's much better than writing code in the global scope.

I always find that it's much easier to learn about new coding techniques through real life examples than just reading pages of theory. So the to do list for today is to develop a JavaScript application that logs all the books in a library. As I said you will be creating your own namespace and all the code will reside in that namespace.

Read Full Article...

HTML for Beginners - Part 3 - Let's make a web page

August 15, 2014 Difficulty: 10 / 50

The goal of this tutorial is to teach you how to create your first web page. It will be very simple. The resulting web page will consist of a title (ex: "My First Web Page"), and an image containing The CodePunker logo.

The tools

You're reading this tutorial so it's safe to assume that you already have one of the needed tools to create your first web page - a web browser. Even if you probably already know this it's worth mentioning that browsers are applications used to connect to the Internet and display web pages by interpreting the HTML tags in the source code and displaying human readable content. Of course, browsers do a lot more than that but for now that's all you need to know.

Another tool that you need is a plain text editor. There are many choices out there and some are really complex. However, for the purpose of this tutorial, all you need is Notepad in Windows or an equivalent for Mac.

Read Full Article...

Installing and using Grunt for your daily tasks on Ubuntu

August 13, 2014 Difficulty: 25 / 50
gruntjs

Although I am more of a PHP guy than a server-side JavaScript fan... I acknowledge the fact that some things are done better when using the right tool for the job.

Minifying JavaScript and compiling LESS files into CSS are two jobs that I do with Grunt because it works flawlessly. In today's tutorial I will show you how you can do that on an Ubuntu Server.

Read Full Article...

How to structure your MySQL database tables for storing custom fields

August 6, 2014 Difficulty: 25 / 50
chain links

In this tutorial you will learn a little bit about how to store an unknown number of parameters linked to an object in your MySQL tables.

Here's a possible scenario that will help you better understand how this works:

We're assuming that a script imports data about users in a system and the only "known" elements are the userid and username from a table called user. All the other "attributes" that a userid may have are unknown (ex: One user could have gender and hair color, while another could have gender, age, and favorite pet).

Read Full Article...

2 3 4 5 6 7 8 9 10 11 12
Better Docs For A Better Web - Mozilla Developer Network

Alerts

2017-09-21 - PHP before 5.6.7 might allow remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via an unexpected data type, related to "type confusion" issues in (1) ext/soap/php_encoding.c, (2) ext/soap/php_http.c, and (3) ext/soap/soap.c, a different issue than CVE-2015-4600. Read more ...
2017-09-21 - The escapeshellarg function in ext/standard/exec.c in PHP before 5.4.42, 5.5.x before 5.5.26, and 5.6.x before 5.6.10 on Windows allows remote attackers to execute arbitrary OS commands via a crafted string to an application that accepts command-line arguments for a call to the PHP system function. Read more ...

See All Entries...